Jim Gibson wrote:
On 9/1/11 Thu Sep 1, 2011 5:15 PM, "Rajeev Prasad"<rp.ne...@yahoo.com>
scribbled:
@tmpAR2 = split(/ /,"$line");
There is no need to surround $line with double-quotes:
@tmpAR2 = split(/ /,$line);
Note that the split will delete the newline character from the last element
of @tmpAR2.
No it will not. The regular expression / / will only match the space
character.
John
--
Any intelligent fool can make things bigger and
more complex... It takes a touch of genius -
and a lot of courage to move in the opposite
direction. -- Albert Einstein
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/