http://qs1969.pair.com?node_id=830736


in reply to Re: Need to know on the differnece between the usgae of $st_mode and $'st_mode what does the single quote refer to
in thread Need to know on the differnece between the usgae of $st_mode and $'st_mode what does the single quote refer to

Used to good effect by Acme modules such as Acme::Can't, Acme::Isn't and Acme::Don't :)
  • Comment on Re^2: Need to know on the differnece between the usgae of $st_mode and $'st_mode what does the single quote refer to

Replies are listed 'Best First'.
Re^3: Need to know on the differnece between the usgae of $st_mode and $'st_mode what does the single quote refer to
by eyepopslikeamosquito (Archbishop) on Mar 25, 2010 at 20:20 UTC

    For CPAN historians, this trick was also used by what I believe is the first CPAN joke module (D'oh), released several years before the Acme namespace was invented by TheDamian in 2001:

    I've also seen it employed in Perl Poetry, obfu and even golf (to improve the tie breaker by replacing sub SomeSub{...} with sub'SomeSub{...}).