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 chanting in the Monastery: (11)
As of 2014-11-24 21:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (147 votes), past polls