thanks. it works!
-rkl

> Try 'undef'.
>
> eg. my procByLastName{ mySubA(undef, "doe"); }
>
> On Fri, 2003-10-10 at 16:39, [EMAIL PROTECTED] wrote:
>> How do I pass a null variable as an argument? Sometime I may want a
>> wrapper sub as below:
>>
>> Example,
>> ...
>> sub procName
>> { my $fname = $_[0];
>>   my $lname = $_[1]];
>> }
>>
>> my procByLastName{ mySubA(null, "doe"); }
>> ...
>>
>> This is the error message:
>> Bareword "null" not allowed while "strict subs" in use
>>
>> thanks,
>> -rkl
>>
>>
>>
>> -----------------------------------------
>> eMail solutions by
>> http://www.swanmail.com
>
>



-----------------------------------------
eMail solutions by 
http://www.swanmail.com

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

Reply via email to