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

Re^9: How best to strip text from a file?

by Kenosis (Priest)
on Nov 09, 2012 at 06:02 UTC ( #1003071=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $hash{orderID}        //= do { /Order ID:(\S+)/;        $1 };
    
  2. or download this
    $hash{orderID} = $1 if !defined $hash{orderID} and /Order ID:(\S+)/;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2014-09-01 22:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (17 votes), past polls