Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: What one-liners do people actually use?

by Anonymous Monk
on Dec 10, 2005 at 21:51 UTC ( #515753=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -le'print localtime =~ /Fri/ ? "w" : "b", "oohoo"'
    
  2. or download this
    perl -le'print 5 == (localtime)[6] ? "w" : "b", "oohoo"'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://515753]
help
Chatterbox?
[chacham]: holy old sharks, batman!

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-12-17 16:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (465 votes). Check out past polls.

    Notices?