Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Getting error while executing the script

by Athanasius (Chancellor)
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://976007]
help
Chatterbox?
[Corion]: Lady_Aleena: Yes, I think so, but maybe someone else might also take care of the cookies ;)
[Lady_Aleena]: I'll put it out there.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-04-26 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (471 votes). Check out past polls.