Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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 ( #830958=note: print w/replies, xml ) Need Help??


in reply to Re^2: 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

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{...}).

  • Comment on Re^3: Need to know on the differnece between the usgae of $st_mode and $'st_mode what does the single quote refer to
  • Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://830958]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2023-12-09 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (37 votes). Check out past polls.

    Notices?