Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 musing on the Monastery: (16)
As of 2014-07-10 14:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (212 votes), past polls