Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004629]
[ambrus]: Today I accidentally cut my hand while carrying a computer. On the display part of the motherboard that sticks out at the back of the chasis and has ports, there's this thin metal sheet with holes cut for the ports, to guide plugs into the sockets.
[ambrus]: This sheet has sharp needle-like parts, 0.004 long and less than 0.001 wide, that can get bent to point outwards, and one of these cut into my palm when I lifted the box.
[ambrus]: So now when I choose what motherboard to buy for my new home computer, I have one more specific property to guide me. Useful, because there's so many different boards to choose from.

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2017-01-16 19:32 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (151 votes). Check out past polls.