Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: How to execute succcessful this Perl script in Linux, window and solaris?

by shmem (Chancellor)
on Jun 29, 2006 at 06:03 UTC ( [id://558225]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    BEGIN {
        if ($^O =~ /^(MS)?Win/) {
    ...
            die $@ if $@;
        }
    }
    
  2. or download this
    if ( $^O =~ /^(MS)?Win/ )
    {
    ...
    {
        print "This is Linux OS!!!\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://558225]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-16 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found