Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Copy rows of file to new document

by BrowserUk (Pope)
on Jan 25, 2013 at 07:39 UTC ( #1015281=note: print w/replies, xml ) Need Help??


in reply to Re^2: Copy rows of file to new document
in thread Copy rows of file to new document

What is $ +_? Do you mean $_?

If so, then you can omit it and use just: 'if( /(make)|(model)|(year)/ ) { print "$_"; }'.

Whether that fixes all your problems I doubt; but its one less to deal with.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015281]
help
Chatterbox?
What's the matter? Cat got your tongue?...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2017-10-17 23:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (239 votes). Check out past polls.

    Notices?