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:
open(HANDLE, ">>/home/vikash/pro_1/labels") or die $!;
to:
open(HANDLE, "</home/vikash/pro_1/labels") or die $!;
Then you should see some output. See also:

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
    thanks for the help. really appreciate it much. the code somehow works with a littile more necessery modifications.