Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Send e-mail using perl

by Anonymous Monk
on Aug 07, 2012 at 14:53 UTC ( #986010=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Send e-mail using perl
in thread Send e-mail using perl

It's the old Perl4-style sub call syntax, and means "ignore prototype" and (if no arguments are passed), "make current @_ visible to subroutine" (perlsub)

Its use is discouraged but it doesn't seem to be harmful. Personally, I just view it as ugly and a hint that "this user learned Perl from tutorials written in 1995"


Comment on Re^3: Send e-mail using perl
Replies are listed 'Best First'.
Re^4: Send e-mail using perl
by Jenda (Abbot) on Aug 07, 2012 at 22:56 UTC

    The prototypes are fine, it's the "current @_" that I meant. There's a big and likely hard to debug difference between &foo(); and &foo;.

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.

Re^4: Send e-mail using perl
by flexvault (Prior) on Aug 07, 2012 at 17:21 UTC

    AM,

    And if the user started using Perl in 1996, then I would expect that to be true!

    "Well done is better than well said." - Benjamin Franklin

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986010]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2015-07-31 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls