On Mon, Aug 12, 2002 at 09:18:27PM -0400, Justin M. Harrison wrote:
> Rules.pm:
> 
> sub loginform {
> return([
>       [-key => 'username',
>       -name => 'username'

Missing comma. :-)

>       -msg => "Username was not entered",
>       required=>1.
>       -msg => "Username was too short",
>       length_min=>1,
>       -msg => "Username was too long",
>       length_max=>15,
>       ],
>       [-key => 'password',
>       -name => 'password',
>       -msg => "Password was not entered",
>       required=>1.
>       -msg => "Password was too short",
>       length_min=>1,
>       -msg => "Password was too long",
>       length_max=>15,
>       ]
> ]);
> }
> 
> 1;

-- 
Open Fusion Pty. Ltd. - Open Source Business Solutions
http://www.openfusion.com.au
- Fashion is a variable, but style is a constant - Programming Perl

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to