develooper Front page | perl.beginners | Postings from August 2012

When are brackets necessary?

Thread Next
From:
Thomas Dean
Date:
August 5, 2012 01:27
Subject:
When are brackets necessary?
Message ID:
1344184105.3223.4.camel@thomas-laptop
Hi there,

Under 'use strict;',
when can I omit the bracket and just write something like
	sub1;
instead of 
	sub1();
and when cannot?

Thomas


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About