|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: Escape blank spacesby Zaxo (Archbishop) |
| on Jun 19, 2007 at 00:02 UTC ( #621900=note: print w/ replies, xml ) | Need Help?? |
|
That depends on whether a shell will interpret the command line that includes the file name. If it will, quotemeta should do it, along with handling lots of other gotchas. $ perl -e'$_ = "foo bar baz"; print quotemeta, $/' foo\ bar\ baz $ If there is no shell interpretation, you probably don't need to escape them. After Compline,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||