Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Quoting package names

by ambrus (Abbot)
on May 27, 2015 at 09:36 UTC ( [id://1127957]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Quoting package names
in thread Quoting package names

Actually, it does work with strict. The trailing double colon is magical.

However, "Foo" isn't longer than Foo:: and everyone knows what the former means, so there's usually not much point of writing the latter.

Replies are listed 'Best First'.
Re^4: Quoting package names
by Anonymous Monk on May 27, 2015 at 10:01 UTC

    Probably meant it causes a warning :)

    $ perl -le"use strict; use warnings; use parent qw/ CGI FCGI/; " $ perl -le"use strict; use warnings; use parent CGI::, FCGI::; " Bareword "CGI::" refers to nonexistent package at -e line 1. Bareword "FCGI::" refers to nonexistent package at -e line 1.

Log In?
Username:
Password:

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

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

    No recent polls found