On Aug 5, 2012, at 9:28 AM, Thomas Dean wrote:
> Hi there,
>
> Under 'use strict;',
> when can I omit the bracket and just write something like
> sub1;
> instead of
> sub1();
> and when cannot?
The best advice I can give you is "always include the parentheses". Thats what
I do, at
Hi Thomas,
Please, check my comments below.
On 8/5/12, Thomas Dean wrote:
> Hi there,
>
> Under 'use strict;',
> when can I omit the bracket and just write something like
To omit the Parentheses, for the subroutine in Perl, you need to have
PREDECLARED the subroutine OR you call the subroutine a
Hi there,
Under 'use strict;',
when can I omit the bracket and just write something like
sub1;
instead of
sub1();
and when cannot?
Thomas
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/