Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Can't locate object method 'new' ??

by perlkiller (Acolyte)
on Aug 28, 2009 at 03:38 UTC ( #791822=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Can't locate object method 'new' ??
in thread Can't locate object method 'new' ??

That line is not a comment. In Unix, it is a start for perl script.


Comment on Re^3: Can't locate object method 'new' ??
Replies are listed 'Best First'.
Re^4: Can't locate object method 'new' ??
by chromatic (Archbishop) on Aug 28, 2009 at 16:46 UTC
    That line is not a comment.

    What does the Perl 5 parser do when it encounters that line when loading a module from another program?

Re^4: Can't locate object method 'new' ??
by goeb (Pilgrim) on Aug 28, 2009 at 10:10 UTC
    And for Perl it's a comment, nothing more. (Of course, it does not belong in there since the module itself does nothing when invoked directly, but it does not affect the module in any way!)
Re^4: Can't locate object method 'new' ?? (shebang)
by toolic (Bishop) on Aug 28, 2009 at 14:33 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (15)
As of 2015-07-07 17: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 (92 votes), past polls