[Israel.pm] system() on windows question
oron at actcom.co.il
Mon Dec 20 02:39:42 PST 2004
On Sunday 19 December 2004 11:06, Yossi.Itzkovich at ecitele.com wrote:
> I usually use Perl on Unix, but I was asked the following one by a PC
> system (@args) && print $!;
Why do you need system() at all? mkdir is a builtin function
in perl (haven't tested on windows). I'm not sure why system()
caused weird error number, but adding this extra layer of
indirection doesn't help portability/robustness.
Hope it helps,
Oron Peled Voice/Fax: +972-4-8228492
oron at actcom.co.il http://www.actcom.co.il/~oron
ICQ UIN: 16527398
I don't do windows...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Url : http://perl.org.il/pipermail/perl/attachments/20041220/3e743e1a/attachment.pgp
More information about the Perl