in reply to What one-liners do people actually use?
perl -le 'print `date`=~/Fri/ ? "woohoo" : "boohoo"'
:)
:)
|
---|
Replies are listed 'Best First'. | |
---|---|
shortest one liner
by hakkr (Chaplain) on Dec 09, 2005 at 10:57 UTC | |
Re^2: What one-liners do people actually use?
by Anonymous Monk on Dec 10, 2005 at 21:51 UTC |
In Section
Seekers of Perl Wisdom