in reply to Re: Re: Perl Style: About error messges opening files
in thread Perl Style: About error messges opening files

You surely mean the list variant of system: system "mkdir", "-p", $foo

Replies are listed 'Best First'.
Re: Re: Re: Re: Perl Style: About error messges opening files
by flyingmoose (Priest) on Apr 27, 2004 at 14:19 UTC
    Eh. $foo did not come from untrusted user input in my example.

    Fair point, but it depends on what domain you work in. In fact, none of my programs take any user input :)

      It hasn't to be user input. It could be the result of a File::Find::find run in a directory where some malicious Windows user created a directory name with whitespace in it.
        What is this Windows you speak of?