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

Re: Bug or inconsitency? FQN of Package and sub name identical

by Sidhekin (Priest)
on Nov 22, 2007 at 16:25 UTC ( [id://652410]=note: print w/replies, xml ) Need Help??


in reply to Bug or inconsitency? FQN of Package and sub name identical

Just make it clear to Perl that the package name is a string, not a function. In other words, quote it:

my $x = 'ABCconf::Query'->new();

print "Just another Perl ${\(trickster and hacker)},"
The Sidhekin proves Sidhe did it!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-16 17:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found