Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by choroba (Chancellor)
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?

Replies are listed 'Best First'.
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 monks are getting baked in the sun...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2017-02-27 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (388 votes). Check out past polls.