Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Nested Loop Problems

by furry_marmot (Pilgrim)
on May 02, 2012 at 21:10 UTC ( [id://968543]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        split(/,/,@array1,4);
    
  2. or download this
        $list=split(/,/,@array1,4);
    
  3. or download this
    foreach my $line (<DATA>) { #assuming you have a data source
        chomp $line;
    ...
    __DATA__
    name1,a1,b1,c1,\n,name2,a2,b2,c2\nname3,a3,b3,c3,\n,name4,a4,b4,c4
    name5,a5,b5,c5,\n,name6,a6,b6,c6\nname7,a7,b7,c7,\n,name8,a8,b8,c8
    
  4. or download this
    name1 a1 b1 c1
    name2 a2 b2 c2
    ...
    name6 a6 b6 c6
    name7 a7 b7 c7
    name8 a8 b8 c8
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-29 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found