in reply to Any differences between method and method()?

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

Replies are listed 'Best First'.
Re^2: Any differences between method and method()?
by sophate (Beadle) on Aug 19, 2012 at 04:35 UTC

    Thank you all for your reply.