🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.perl
Article #52252

Odp: Re: [RegEx] Parametr opcjonalny w wyrażeniu regularnym

#52252
From: czubatka
Date: Tue, 14 Jun 2011 00:46
6 lines
1400 bytes
> Generalnie ja bym poszedł na łatwiznę
przy okazji rozwiązując mały problem z linii

    my ($backup_compressed, $type_of_backup ) = $_ =~ /

Według moich obliczeń, to zawsze przypisze wartość $_ tylko do pierwszego elementu, czyli w tym wypadku do $backup_compressed.
Technical Details
Message-ID: <32cbff57-380f-4413-ac0d-43a459f57676@glegroupsg2000goo.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From: czubatka <czubatka@panth-net.com>
Newsgroups: pl.comp.lang.perl
Subject: Odp: Re: [RegEx] Parametr opcjonalny w wyrażeniu
 regularnym
Date: Mon, 13 Jun 2011 17:46:27 -0700 (PDT)
Organization: http://groups.google.com
Lines: 7
Message-ID: <32cbff57-380f-4413-ac0d-43a459f57676@glegroupsg2000goo.googlegroups.com>
Reply-To: pl.comp.lang.perl@googlegroups.com
NNTP-Posting-Host: 89.174.124.115
Mime-Version: 1.0
X-Trace: posting.google.com 1308012388 5308 127.0.0.1 (14 Jun 2011 00:46:28 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 14 Jun 2011 00:46:28 +0000 (UTC)
In-Reply-To: <isrg5v$eo6$1@news.onet.pl>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=89.174.124.115; posting-account=XaxcDAoAAAAsUosWh6TfoiQaVTgWWrVJ
User-Agent: G2/1.0
X-Google-Web-Client: true
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit