in reply to reading from and writing to a file
but its outputting nothing. i tried to check it by placing a print @ the 3rd line of the main program.To solve this mystery, change:
to:open(HANDLE, ">>/home/vikash/pro_1/labels") or die $!;
Then you should see some output. See also:open(HANDLE, "</home/vikash/pro_1/labels") or die $!;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: reading from and writing to a file
by vikashiiitdm (Novice) on Jul 14, 2011 at 14:26 UTC |