Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: parsing a line

by frozenwithjoy (Curate)
on Nov 19, 2012 at 22:50 UTC ( #1004629=note: print w/ replies, xml ) Need Help??


in reply to Re: parsing a line
in thread parsing a line

Substituting print "$1\n" if $abc =~ /PickMaster 3:(.*)/; works, too. Is there any reason not to use it? Seems a lot more readable.


Comment on Re^2: parsing a line
Download Code
Re^3: parsing a line
by Kenosis (Priest) on Nov 19, 2012 at 22:55 UTC

    Yes--much better.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004629]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (16)
As of 2015-07-02 11:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (35 votes), past polls