Hey all,

I know this is a PHP list, but I could use a bit of Perl help, a language which just does not fit in my C/C++/Java/PHP trained brain.

A directory is created with the following:


I need to replace spaces with the underscore character so the directory name contains no spaces, so I tried preceding it with

$img_dir =~ s/ /_/g;

Which did nothing.

Can someone help here?

Much thanks,

Skip Evans
Big Sky Penguin, LLC
503 S Baldwin St, #1
Madison WI 53703
Those of you who believe in
telekinesis, raise my hand.
 -- Kurt Vonnegut

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to