Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: AUTH SSL/TLS required prior to authentication

by 1nickt (Canon)
on Jan 16, 2016 at 01:15 UTC ( [id://1152910]=note: print w/replies, xml ) Need Help??


in reply to AUTH SSL/TLS required prior to authentication

Not related to your question, but there's no need to use parentheses on your sub declaration: you're just telling Perl that no arguments are allowed, and by placing the call before the sub Perl can't check what the sub allows anyway.

If you had use warnings; Perl would have told you this:

$ perl -wE' foo("bar"); sub foo() { 1; } ' main::foo() called too early to check prototype at -e line 2.
$ perl -wE' sub foo() { 1; } foo("bar"); ' Too many arguments for main::foo at -e line 3, near ""bar")" Execution of -e aborted due to compilation errors.

The way forward always starts with a minimal test.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-18 02:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found