Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: How can one use the print function to get the correct information?

by CountOrlok (Friar)
on Apr 05, 2013 at 18:07 UTC ( #1027187=note: print w/ replies, xml ) Need Help??


in reply to How can one use the print function to get the correct information?

Try changing:

my $result1=(find_student($reg)->display());
to:
my $result1 = find_student($reg)->display();
Update: As golux mentioned, your display function is not returning anything useful.


Comment on Re: How can one use the print function to get the correct information?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2015-07-30 01:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls