Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Can't / won't print pipe delimiter?

by BrowserUk (Patriarch)
on May 18, 2009 at 16:40 UTC ( [id://764673]=note: print w/replies, xml ) Need Help??


in reply to Can't / won't print pipe delimiter?

But it will not output 3|5|2|9|

Works for me?

c:\test>perl @my_list = (3, 5, 2, 9); for $i (0 ..$#my_list) { print $my_list[$i]."|"; } ^Z 3|5|2|9|

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-19 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found