Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Bareword Package Names

by martin (Friar)
on Aug 08, 2012 at 16:16 UTC ( [id://986319]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $object3 = 'Foo::Bar'->new;
    say ref $object3;   # says "Foo::Bar"
    
  2. or download this
    use strict;
    use warnings;
    ...
    # Name "Foo::Bar" used only once: possible typo
    # print() on unopened filehandle Bar
    print Foo::Bar::, "Baz\n"; # prints Foo::BarBaz
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-23 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found