Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^11: Curious about Perl's strengths in 2018

by eyepopslikeamosquito (Archbishop)
on Apr 14, 2018 at 22:21 UTC ( [id://1212896]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    "Dear $name"
    
  2. or download this
    "Dear %s" % expr          # Python % printf-like operator
    "Dear {0}".format(expr)   # Python format string method
    "Dear "+`expr`            # Python backticks (TIMTOWTDI)
    
  3. or download this
    "Take"if n else"Go to"
    (n>0)*"Take"or"Go to"
    ...
    ("Go to","Take")[n>0]
    n and"Take"or"Go to"
    "GToa kteo"[n>0::2]          # "Slice and Dice" wins this golf!
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found