in reply to Quoting package names

The question is: why the ... i see quoted package names everywhere?

Because style is style and barewords have long been out of style

also, :: require shifting whereas qw// doesn't (yes I know you used () )

Replies are listed 'Best First'.
Re^2: Quoting package names
by hurricup (Pilgrim) on May 27, 2015 at 03:18 UTC

    I'm just stupid again. This doesn't work with use strict. Sorry. :)

      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.

        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.