Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Array - Reading frame problem

by graff (Chancellor)
on Jul 16, 2005 at 16:37 UTC ( [id://475476]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Array - Reading frame problem
in thread Array - Reading frame problem

You just need to learn more of the basics of perl syntax. There are lots of ways to do whatever you want with any subset of array elements:
print "$_\n" for ( @array[1..$#array] ); # which is the same as: for my $i ( 1 .. $#array ) { print "$array[$i]\n"; } # and $" = "\n"; print "@array[1..$#array]\n";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-26 03:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found