On 2011-11-19 19:21, Mohan L wrote:

But What I want is, I want to replace all 'undef' to a string 'foo'.

Unless you really want to change your data, use map().

--
Ruud


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to