Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by artist (Parson)
on May 18, 2009 at 16:39 UTC ( #764670=note: print w/ replies, xml ) Need Help??


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

It prints perfectly fine on my machine with "|". I am not sure, why you don't get that. Try '|' rather than "|". Also mention which version of perl you are using.

--Artist


Comment on Re: Can't / won't print pipe delimiter?
Download Code
Re^2: Can't / won't print pipe delimiter?
by chromatic (Archbishop) on May 18, 2009 at 21:14 UTC
    Try '|' rather than "|".

    What would you expect that to do? Are you thinking of the pattern to split? Even in that case, it wouldn't matter -- the pipe character has no special interpolation properties in single- versus double-quoted strings.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2014-12-22 03:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (110 votes), past polls