Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: uninitialized values

by gaurav (Sexton)
on Aug 19, 2013 at 13:40 UTC ( [id://1050035]=note: print w/replies, xml ) Need Help??


in reply to Re: uninitialized values
in thread uninitialized values

Sorry ,for variable names & am very thankful to you for pointing that out to me.But my problem is remain same that I want to use those print stmt. outside if block,please help me on this

Replies are listed 'Best First'.
Re^3: uninitialized values
by AnomalousMonk (Archbishop) on Aug 19, 2013 at 15:19 UTC
    ... I want to use those print stmt. outside if block ...

    The code example of hippo defines and initializes the lexical  @values1 and  @val1 arrays outside the if-block and then uses them both inside and outside the block. Please take another look at this example and see if things make more sense.

Re^3: uninitialized values
by gaurav (Sexton) on Aug 19, 2013 at 13:45 UTC

    I should ask that what I have to do to avoid that warning

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-03-29 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found