in reply to How can one input a textfile from desktop just created?
BEFORE the loop where you concatenate into $new.my $new = "";
You would have discovered the missing declaration if you had "use strict";
THe alternative to concatanation is to the "slurp" the file - plenty of references at this site on how that is done.
What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?
-Larry Wall, 1992
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How can one input a textfile from desktop just created?
by supriyoch_2008 (Monk) on Mar 08, 2014 at 06:54 UTC |