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

Re: List-to-Range generation

by Vynce (Friar)
on Sep 21, 2001 at 23:59 UTC ( #113988=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub stringRangeToList { 
      my $foo = shift; 
      $foo =~ s/-/../g; 
      return eval $foo;
    }
    
  2. or download this
    
    sub stringRangeToStringList { 
    ...
      return $foo;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://113988]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2017-07-26 19:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (400 votes). Check out past polls.