On Saturday, Mar 29, 2003, at 03:23 Asia/Tokyo, Rich Morin wrote:
Let's say that I want to use a command (e.g., md5) on a file. No
problem; just use:
system("md5 $file");
Except that the file name could contain all manner of white space
characters, shell wildcard characters, etc. Is there a mo
Rich Morin writes:
> Let's say that I want to use a command (e.g., md5) on a file. No
> problem; just use:
>
>system("md5 $file");
>
> Except that the file name could contain all manner of white space
> characters, shell wildcard characters, etc. Is there a module that
> deals with this sor
Wouldn't it work to do the system call like this:
system( 'md5',$file );
since passing the params as a list should bypass the shell?
--
David Dierauer
Database Programmer
CoreComm
[EMAIL PROTECTED]
517-324-8957
On Fri, 28 Mar 2003, Jerry LeVan wrote:
> > Let's say that I want to use a command
on 3/28/03 12:23 PM, Rich Morin at [EMAIL PROTECTED] wrote:
> Let's say that I want to use a command (e.g., md5) on a file. No
> problem; just use:
>
> system("md5 $file");
>
> Except that the file name could contain all manner of white space
> characters, shell wildcard characters, etc. Is th
> Let's say that I want to use a command (e.g., md5) on a file. No
> problem; just use:
>
> system("md5 $file");
>
> Except that the file name could contain all manner of white space
> characters, shell wildcard characters, etc. Is there a module that
> deals with this sort of thing (e.g., wra
Let's say that I want to use a command (e.g., md5) on a file. No
problem; just use:
system("md5 $file");
Except that the file name could contain all manner of white space
characters, shell wildcard characters, etc. Is there a module that
deals with this sort of thing (e.g., wrapping each argum