in reply to pipe as a delimiter

Well, the really depends upon what you want to do and why. If you're just splitting the data:
my @data = split /\|/, $string;

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.