On Tuesday 06 November 2007 00:24, Gunnar Hjalmarsson wrote:
> John W . Krahn wrote:
> > On Sunday 04 November 2007 18:06, Mike Martin wrote:
> >> sub run_cmd { return print
> >
> > print() returns either true or false. Why are you returning this
> > value from your sub?
> >
> >> span( { -class => 'place_cmd' }, submit( -name => 'action',
> >> -value => shift ) ), p };
> >>
> >> ...
> >>
> >> run_cmd('entry');
> >
> > The run_cmd() sub does not take any arguments.
>
> Yes it does.
>
> -value => shift
Oops! Thanks Gunnar.
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/