XP is just a number | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Empty string
All the content is read into @LINES so $filedata is empty my(@LINES) = <ORDERFILE>; my $filedata = <ORDERFILE>; Maybe try my @LINES = <ORDERFILE>; my $filedata = join '',@LINES; or just open ORDERFILE, '<', $emailfile or die "$emailfile: $!"; my $filedata = do { local $/; <ORDERFILE> }; close ORDERFILE;poj In reply to Re^3: By the shine on my bald pate, I dislike this encoding stuff
by poj
|
|