laziness, impatience, and hubris | |
PerlMonks |
Re: How can one define value to call method "display" at line 45?by Corion (Patriarch) |
on Apr 03, 2013 at 11:51 UTC ( [id://1026838]=note: print w/replies, xml ) | Need Help?? |
Your error happens because</c>
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.
In Section
Seekers of Perl Wisdom
|
|