Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: parsing a line

by frozenwithjoy (Priest)
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.

Replies are listed 'Best First'.
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?
[james28909]: i have discovered hash of arrays
[james28909]: @{$hash{$key}}$_;

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2017-04-27 19:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (512 votes). Check out past polls.