how is it possible to test in perl if the program is running on win or linux?
Simply:
if( $^O eq 'MSWin32' ) { ## Do the windows thing } else { ## else do something else }
In reply to Re^3: time and mem usage of pgm
by BrowserUk
in thread time and mem usage of pgm
by carolw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |