Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I have inherited a Perl script that opens a base64 encoded, pipe delimited flat file, I need to decode it.
Here's how the file is slurped up:
my $record = do { local( @ARGV, $/ ) = $file ; <> };
Then it splits $record into a TON of variables, so I would like to know if I could decode this in a simple fashion before the split.
Thanks,
Anono
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: decode a file
by Codon (Friar) on May 13, 2005 at 22:12 UTC | |
by Anonymous Monk on May 13, 2005 at 22:23 UTC | |
|
Re: decode a file
by mifflin (Curate) on May 13, 2005 at 21:10 UTC | |
|
Re: decode a file
by jpeg (Chaplain) on May 13, 2005 at 21:13 UTC | |
|
Re: decode a file
by Anonymous Monk on May 13, 2005 at 21:24 UTC |