Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Yet another array problem

by Angharad (Pilgrim)
on Jul 29, 2005 at 15:14 UTC ( [id://479437]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while(<>)
    {
    ...
        @array = split;
    
    }
    
  2. or download this
    12 44 111 445
    
  3. or download this
    @line1 = $array[0];
    print "@line1\n"; # this works
    ...
    @line1 = split(/\t/);
    $var1 = $line1[0];
    print "$var1\n"; # this doesnt work
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-24 10:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found