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

Re^2: Generating a list of numbers from other lists

by choroba (Abbot)
on Jan 30, 2012 at 09:16 UTC ( #950721=note: print w/ replies, xml ) Need Help??


in reply to Re: Generating a list of numbers from other lists
in thread Generating a list of numbers from other lists

next if /^sh|^\s*Source|^$DestDevice|^Accounting|^|^$|/; # X here
Do you really expect a line without a beginning?


Comment on Re^2: Generating a list of numbers from other lists
Download Code
Re^3: Generating a list of numbers from other lists
by mlebel (Hermit) on Jan 30, 2012 at 12:43 UTC

    Ha.. good catch

    That was suppose to be ^^M

    It never crossed my mind that it wouldn't paste properly in here from the script, but it makes sense that it wouldn't. I guess I could always add chomp; on the line right above it and remove the ^^M from there..

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2014-10-22 07:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (114 votes), past polls