in reply to Text::ParseWords and pipe delimiter

You need to do two things: escape the pipe and use single quotes:
my @words = parse_line('\|', 0, $text);

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Replies are listed 'Best First'.
Re: (jeffa) Re: Text::ParseWords and pipe delimiter
by LanceDeeply (Chaplain) on Jul 29, 2002 at 17:55 UTC
    thanks alot!
    you would laugh if you saw all the stuff i was trying to push into that function