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.