Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Putting special elements from a row into an array

by ultibuzz (Monk)
on Mar 22, 2007 at 12:40 UTC ( #606004=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!"C:\perl\bin\perl.exe"
    
    use warnings;
    ...
        #my @number_split = split(',', $numbers);
        print "$pre\t$in\t$post\n";
    }
    
  2. or download this
    201.1;201(27, 28, 3, 4, 83, 84, 890, 897, 898, 9), 2054
    201.2;201(1, 20-26, 29, 80-82, 891-896, 899)
    201.3;201(52-54, 6, 75, 76, 85-88)
    201.4;201(50, 51, 55-59, 70-74, 77-79)
    
  3. or download this
    2302.1;2302, 2304(3-8, 92-99), 2305(2, 4-9)
    231.1;2301, 2303, 2304(1, 2, 90, 91), 2305(1, 3), 2306, 2307, 2308
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://606004]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-12-28 16:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls