Sprad has asked for the wisdom of the Perl Monks concerning the following question:
For values of $num less than 256, it works as expected. Anything higher, and it doesn't. Is this a limitation of win32 Perl? Is there a workaround?$num = 256; $res = system('exit /b $num'); print $res/256;
---
A fair fight is a sign of poor planning.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: system() return values overflowing on win32?
by clintp (Curate) on Sep 13, 2001 at 04:20 UTC |