Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Error in the example code

by davorg (Chancellor)
on Nov 27, 2001 at 15:40 UTC ( #127780=note: print w/ replies, xml ) Need Help??


in reply to Error in the example code
in thread split and join

my @arr = (1 .. 10); print join(', ', @arr[0 .. $#arr - 1]), " & $arr[$#arr]\n";
--
<http://www.dave.org.uk>

"The first rule of Perl club is you don't talk about Perl club."


Comment on Re: Error in the example code
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2014-12-20 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (97 votes), past polls