Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Getting error while executing the script

by Athanasius (Abbot)
on Jun 13, 2012 at 16:21 UTC ( #976007=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Getting error while executing the script
in thread Getting error while executing the script

if ($OS == SunOS ) {

The system call to uname returns a string, so you need a string comparison here:

if ($OS eq 'SunOS') {

HTH,

Athanasius <°(((><contra mundum


Comment on Re^3: Getting error while executing the script
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (17)
As of 2015-07-28 13:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (254 votes), past polls