You could put in whatever the various OSes are that you would need.use English; BEGIN { if ( $OSNAME =~ /MSWin32/i) { #do some stuff for Windows } elsif ( $OSNAME =~ /solaris/i) { #do some stuff for solaris }# }#end BEGIN
In reply to Re^3: perl function for 'ps' ?
by nimdokk
in thread perl function for 'ps' ?
by js1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |