RE: awesome help, but, a question
- From: tjohnson@xxxxxxxxxxxxxxxxx (Timothy Johnson)
- Date: Fri, 14 Jul 2006 16:10:37 -0700
Run 'perldoc perlop' at the command-line.
Check out the section about the "Conditional Operator" for the first
question, and the second question will be under "Quote and Quote-like
Operators", in the "m/PATTERN/cgimosx" section.
-----Original Message-----
From: Ryan Moszynski [mailto:ryan.m.lists@xxxxxxxxx]
Sent: Friday, July 14, 2006 4:04 PM
To: mumia.w.18.spam+nospam@xxxxxxxxxxxxx; beginners@xxxxxxxx
Subject: awesome help, but, a question
<snip>
what are the ':'s doing?, and lastly, what is eg?
<snip>
########
$str =~ s/(?:(\d+)-(\d+)|(\d+));?/
$3 ? '' : ($2 > $1 ? '' : 'y')
/eg;
'' eq $str;
########
<snip>
.
- References:
- awesome help, but, a question
- From: Ryan Moszynski
- awesome help, but, a question
- Prev by Date: awesome help, but, a question
- Next by Date: strip
- Previous by thread: awesome help, but, a question
- Next by thread: Re: awesome help, but, a question
- Index(es):
Relevant Pages
|
|