Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: unable to resolve warning "Use of uninitialized value in ..."

by jesuashok (Curate)
on Oct 24, 2005 at 14:25 UTC ( [id://502475]=note: print w/replies, xml ) Need Help??


in reply to unable to resolve warning "Use of uninitialized value in ..."

Hi ..

if ( $process -> {ExecutablePath} ) { ...... Code Stuff .... }

The above will become true ony if it contains any values. It becomes false for "",'' and undef.
"Keep pouring your ideas"
  • Comment on Re: unable to resolve warning "Use of uninitialized value in ..."

Replies are listed 'Best First'.
Re^2: unable to resolve warning "Use of uninitialized value in ..."
by lepetitalbert (Abbot) on Oct 24, 2005 at 14:45 UTC

    Hi again, problem solved :

    if ( defined $process -> {ExecutablePath} ) { print LOG $process -> {ExecutablePath} . "\n\n"; }

    Thanks
    Have a nice day.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-23 06:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found