XP is just a number | |
PerlMonks |
Re: Re: Nothing show up in the browserby theguvnor (Chaplain) |
on Jan 25, 2002 at 17:06 UTC ( [id://141487]=note: print w/replies, xml ) | Need Help?? |
Just to remind Alex, the reason that it doesn't complain is that $query->center(#other stuff); is a valid method call; but nothing is being done with the return from the "center" method. I believe C/C++/Java? programmers would call this a call "in void context". This is fixed by printing the results of the method call.
In Section
Seekers of Perl Wisdom
|
|