anjaana78 has asked for the wisdom of the Perl Monks concerning the following question:
the output showd be some thing like this:open FILE, "myfile" or die "I am not able to open the file to read"; while (<FILE>) { chomp; $string .= "$_, " ; } close(FILE); chop($string); #removing the last balan space from the string. chop($string); #removing the last , from the string.
"john", "sean", "me".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: qoutes bugging me
by anjaana78 (Novice) on May 10, 2001 at 18:49 UTC | |
by buckaduck (Chaplain) on May 10, 2001 at 21:11 UTC | |
|
how 'bout this
by cforde (Monk) on May 10, 2001 at 21:21 UTC |