Andy Greenwood wrote:
> On 10/9/06, Helliwell, Kim <[EMAIL PROTECTED]> wrote:
>> The following test script fails to compile, complaining that there are
>> not enough arguments in the call to sub2.
>>
>> #!/bin/perl
>>
>> sub1("Hello, ");
>> sub1("world\n");
> 
> Are you sure you want sub1 prototyped twice?

Those are function *calls* not prototypes.

perldoc perlsub




John
-- 
Perl isn't a toolbox, but a small machine shop where you can special-order
certain sorts of tools at low cost and in short order.       -- Larry Wall

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to