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

Re: Converting a list of numbers to use a range operator

by arnaud99 (Beadle)
on Mar 23, 2013 at 21:19 UTC ( [id://1025080]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Modern::Perl;
    use Data::Dumper;
    ...
        say "range: ", $a_range->[0], '..', $a_range->[-1];
    }
    
  2. or download this
    $VAR1 = [
              [
    ...
    range: 10..13
    range: 20..22
    range: 34..38
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1025080]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found