On Fri, 5 May 2000, Thierry-Michel Barral wrote:
 
> I have another question, no connection from the previous one:
> 
> I believe using 
> 
> open FH "<tweety.conf";
> 
> is in fact a call to the shell. Right ?

no!  but open FH, "cal|"; would result in a fork/subprocess.  see the
perldocs, this is not any different under mod_perl.
 
> So, in mod_perl, I prefer not to call the shell, so is
> 
> $fh= new IO::File($filename, "r");
> 
> a better solution ?

no!  that calls the builtin open() underneath, so it's no different in
the end, other than the extra layers to get there.

Reply via email to