in reply to pipe as a delimiter II
Seriously, we can only guess at what's going on when you say "won't let me". You'll need to post more code.
If I were you, I'd have something like:
Untested code, because I've done that at least twice before. :)open(INPUT, 'file.txt') or die "Can't open file.txt: $!"; while (<INPUT>) { chomp; my @data = split(/\|/, $_); # do something with @data } close INPUT;
Please reply to this post (or another in this thread) with any information that can help to clarify.
|
|---|