1
perl -le'*{$#_}=sub{world},s;"*;$,=$";e,*{$"}=sub{Hello},print$_--->(),&$_'

Perl Hello world!

by Simon Law, March 18, 2008 13:49, 1 refactoring, tagged with perl, obfuscated, hello world, one-liner

Can you refactor this to ma...

6869f98aa6911b0f9f13468ccca24813 Talk
1
2
3
4
#!/usr/bin/env ruby

files = ARGV.collect { |fname| File.new(fname, 'w') }
...

Ruby Randomly split input lines.

by Scott Robinson, November 15, 2007 08:56, No refactoring, tagged with short, functional, oneliner, one-liner

My first Ruby script. I'm c...

1945ab4cdb87eaf5a5c906fa884c29f1 Talk
1
curl http://www.cnn.com | perl -ne 'm/>([^<].*?[^>])<\// && print$1."\n"'

Perl Perl one-liner to extract x...

by griflet, November 13, 2007 17:19, 3 refactorings, tagged with perl, oneliner, one-liner, xml, tags, html, xhtml

Hello,
I'm a web-scrapping...

Aae34a7973a8d98e53764a1c89090c55 Talk