Help for this page

Select Code to Download


  1. or download this
    $ perl -le'print __PACKAGE__'
    main
    
  2. or download this
    $ perl -le'print CORE::__PACKAGE__'
    main
    
  3. or download this
    $ perl -wle'BEGIN { *CORE::GLOBAL::__PACKAGE__ = sub () { "abc" }; } p
    +rint __PACKAGE__'
    abc
    
  4. or download this
    $ perl -wle'print prototype "CORE::__PACKAGE__"'
    Can't find an opnumber for "__PACKAGE__" at -e line 1.