Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Perl: How to match a line and print words at line immediately above it?

by sundialsvc4 (Monsignor)
on Nov 01, 2013 at 14:59 UTC ( #1060773=note: print w/ replies, xml ) Need Help??


in reply to Re: Perl: How to match a line and print words at line immediately above it?
in thread Perl: How to match a line and print words at line immediately above it?

... or perhaps my $previous = undef; to clearly reflect that there is no previous-line, much as NULL (in a database column) denotes the complete absence of any value at all.   Whatever makes the most sense in your particular situation.


Comment on Re^2: Perl: How to match a line and print words at line immediately above it?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2014-09-18 08:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (109 votes), past polls