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

Re^2: Use of uninitialized value in pattern match (m//)

by Sushma (Initiate)
on Nov 09, 2012 at 09:47 UTC ( #1003091=note: print w/ replies, xml ) Need Help??


in reply to Re: Use of uninitialized value in pattern match (m//)
in thread Use of uninitialized value in pattern match (m//)

hi, I am also getting same error for below code if ($response->{'Name'} =~ /Approval/) Could you pleas help me. Thanks, sushma


Comment on Re^2: Use of uninitialized value in pattern match (m//)
Re^3: Use of uninitialized value in pattern match (m//)
by Corion (Pope) on Nov 09, 2012 at 09:53 UTC

    If you get that error, looking at perldiag usually tells you where the error comes from. In your case, $response->{'Name'} is not what you think it is.

    I recommend looking at $response, maybe by using Data::Dumper.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-10-21 05:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (96 votes), past polls