use the perl variable:

my $os = $^O;
print "Running in: $os\n";


On Jul 27, 2006, at 1:12 AM, anand kumar wrote:

Hi all,

Can any one say a command or procedure to find out on which OS/ Platform does our current perl script is running.

  Thanks in advance for the help

  Reards
Anand Kumar

                                
---------------------------------
 Here’s a new way to find what you're looking for - Yahoo! Answers


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to