Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by arnaud99 (Beadle)
on Mar 23, 2013 at 21:19 UTC ( #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
Node Status?
node history
Node Type: note [id://1025080]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2015-07-28 03:45 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 (252 votes), past polls