in reply to Re^2: time and mem usage of pgm
in thread time and mem usage of pgm
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 }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: time and mem usage of pgm
by Anonymous Monk on Mar 11, 2015 at 08:16 UTC | |
by hippo (Archbishop) on Mar 11, 2015 at 08:44 UTC | |
by carolw (Sexton) on Mar 16, 2015 at 10:37 UTC | |
by Anonymous Monk on Mar 16, 2015 at 11:08 UTC | |
by carolw (Sexton) on Mar 17, 2015 at 11:15 UTC | |
| |
|
Re^4: time and mem usage
by Anonymous Monk on Mar 11, 2015 at 20:15 UTC | |
by BrowserUk (Patriarch) on Mar 11, 2015 at 20:26 UTC |