Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 perusing the Monastery: (9)
As of 2015-07-07 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls