Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Hidden features of Perl (Baby Cart Secret Operator)

by eyepopslikeamosquito (Archbishop)
on Jun 29, 2009 at 11:43 UTC ( [id://775629]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    "Dear $name"              # Perl and PHP
    "Dear %s" % expr          # Python and Ruby % printf-like operator
    ...
    "Dear #{expr}"            # Ruby string interpolation
    "Dear @{[expr]}"          # Perl "Baby Cart" string interpolation
    "Dear {expr}"             # Perl 6 version of Baby Cart (I think)
    
  2. or download this
    printf"%@{[.1*vec'XXXXXXXXXXXX',$_,8]}s",($_^$`%12?g:p)&($_^$'/5?g:u)|
    +"H
    
    "for map{$_,11-$_}<>!~/:/..5
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-28 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found