7 Sep
2000
7 Sep
'00
21:43
$foo =~ s/([ =])/\\$1/g; where $foo is the variable in which you want to replace ' ' and '=' ------------- Piet le Roux mendes wrote:
Hello I need to hack somebody's else code but I don't know an iota about perl. It is a function which gets the full pathname for a file, however the pathname has spaces and = on it. How can I use the same variable but changing spaces for \-space and = for \=.
Thanks a lot.
Ed
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq