Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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//)

Replies are listed 'Best First'.
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 drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2016-06-25 22:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (327 votes). Check out past polls.