Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Can't locate object method "New" via package "Net::SSH" at

by DrHyde (Prior)
on Apr 25, 2013 at 10:17 UTC ( #1030641=note: print w/ replies, xml ) Need Help??

Comment on Re^2: Can't locate object method "New" via package "Net::SSH" at
Re^3: Can't locate object method "New" via package "Net::SSH" at
by choroba (Canon) on Apr 25, 2013 at 10:22 UTC
    It is good to provide arguments for a statement like this. Moreover, the "direct" syntax is not much better. The safe ways are either appending ::, which works equally well for both ways, or using the "direct" syntax with quoted class names:
    my $x = new Class::; my $y = Class::->new; my $z = 'Class'->new;
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2015-07-03 06:19 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 (48 votes), past polls