Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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.


Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2016-10-23 17:01 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.