Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How can one define value to call method "display" at line 45?

by Corion (Pope)
on Apr 03, 2013 at 11:51 UTC ( #1026838=note: print w/replies, xml ) Need Help??


in reply to How can one define value to call method "display" at line 45?

Your error happens because</c>

find_student($reg)

returns undef, which most likely means that no student matching $reg was found. Consider checking the values you have in your database and whether/how a student can be found given $reg.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1026838]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2018-06-21 01:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (117 votes). Check out past polls.

    Notices?