[LA.pm] push question
Robin Rowe
rower at MovieEditor.com
Thu Mar 3 23:29:08 PST 2005
> What are you doing in your real program, what do you expect to see, and
> what are you actually seeing?
These are the only lines that matter.
@lines = <FILE>;
push(@lines,$string);
I simply want to append another line to an array of lines read from a file,
but push doesn't do what I expected. Does anyone know how to push a string
onto an array of strings read from a file?
Robin
More information about the Losangeles-pm
mailing list