June 26th 2007

Lamby's Second Postulate

Lamby's second postulate is, of course, don't use Perl unless absolutely necessary. For example, this 41-line script can easily be written as:

while [ -n "$1" ]; do
   curl -F upload=@"$1"

Recursive file adding then achieved using the GNU findutils. Relax, it's the UNIX way.

You can subscribe to new posts via email or RSS.