Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by Sidhekin (Priest)
on Nov 22, 2007 at 16:25 UTC ( #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
Node Status?
node history
Node Type: note [id://652410]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (14)
As of 2016-06-29 20:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (387 votes). Check out past polls.