Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2016-06-25 10:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (325 votes). Check out past polls.