>Hi, > >I have a file with a list of symbols: > >AAPL >AMCO >IBM >ORCL > >I want to print like >'AAPL','AMCO','IBM''ORCL' > >Thanks for the help > >Sangeeta
Maybe
open (FILE, "$filename");
# READS in one line at a time ($_ contains all characters on that line)
while (<FILE>) {
print "$_, ";
}
>
>--
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
--
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
