Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by choroba (Canon)
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
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (12)
As of 2015-07-28 12:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (254 votes), past polls