Alexander Foken: sauberes Programmieren

Beitrag lesen

Moin Moin !

http://www.perldoc.com/perl5.8.0/pod/perlstyle.html

und speziell zur &fkt; vs. fkt()-Frage:
http://www.perldoc.com/perl5.8.0/pod/perlsub.html

daraus zitiert:
  To call subroutines:

NAME(LIST);   # & is optional with parentheses.
    NAME LIST;    # Parentheses optional if predeclared/imported.
    &NAME(LIST);  # Circumvent prototypes.
    &NAME;        # Makes current @_ visible to called subroutine.

&fkt; und &fkt(args) sind also Dinge, die Du in Perl 5 garantiert NICHT machen willst, außer um Dir gründlich in den Fuß zu schießen. Das sind hauptsächlich Kompatibilitätskrücken zu Perl 4.

Alexander

--
Nein, ich beantworte keine Fragen per eMail. Dafür ist das Forum da.
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so!"