According to B::Deparse, they seem to be treated the same (Tip #6 from the Basic debugging checklist):
$ perl -MO=Deparse -MDateTime -e 'DateTime->now' use DateTime; 'DateTime'->now; -e syntax OK $ perl -MO=Deparse -MDateTime -e 'DateTime->now()' use DateTime; 'DateTime'->now; -e syntax OK
In reply to Re: Any differences between method and method()?
by toolic
in thread Any differences between method and method()?
by sophate
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |