[Israel.pm] system() platform dependant issue

guy keren choo at actcom.co.il
Tue Sep 5 14:29:07 PDT 2006


On Tue, 2006-09-05 at 20:37 +0200, Yuval Yaari wrote:
> Gaal Yahas wrote:
> > $cmd = 'echo blaaaaa > /dev/null 2>&1';
> > But this is not guaranteed to work on non-unix platforms.
> This will obviously not work on {t,}csh :-)

it doesn't matter. when perl runs system(), it uses sh, not tcsh.
no need to argue. check it and you'll see.

--guy





More information about the Perl mailing list