Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: regex to an array , is there a better way to do this

by moritz (Cardinal)
on Jul 08, 2009 at 16:42 UTC ( [id://778339]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @array = eval $number;
    
  2. or download this
          for (my $i=$1;$i<=$2;$i++){
            push @arraydigit, $i;
          }
    
  3. or download this
         push @array, $1..$2;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-03-29 14:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found