Link to home
Start Free TrialLog in
Avatar of dexter_modem
dexter_modem

asked on

Perl Parse a file with | as dilimeter

I am having the hardest time parsting a plain file that is useing | as the delimeter.  I would really like to change the delimetere from | to ^ but i do not have that option.

@item = split(/|/, $line);

is not working :-/

what am i doing wrong?
ASKER CERTIFIED SOLUTION
Avatar of ericl1st
ericl1st

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dexter_modem
dexter_modem

ASKER

Thank you so much.. that was holding me up for a good 20 mins...