Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Perl allows package names consisting entirely of colons

by tobyink (Abbot)
on Nov 27, 2012 at 13:33 UTC ( #1005856=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -Mstrict -Mwarnings -E'package main; say __PACKAGE__'
    main
    ...
    ::
    $ perl -Mstrict -Mwarnings -E'package ::::; say __PACKAGE__'
    ::::
    
  2. or download this
    {
        package main;
    ...
    say ::xxx();      # 0
    say ::::xxx();    # 1
    say ::::::xxx();  # 2
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005856]
help
Chatterbox?
and !@monks...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2017-08-18 16:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (306 votes). Check out past polls.

    Notices?