perl -e '$foo = "hello there"; $foo =~ /(?{chop}){4}/; print "$foo\n"'
Nuff said.
You may have to look up what (?{...}) does in perldoc perlre
Thu, 05 Aug 2004happy perl obfuscation #425234569807
perl -e '$foo = "hello there"; $foo =~ /(?{chop}){4}/; print "$foo\n"'
Nuff said.
You may have to look up what (?{...}) does in
Comments: 0 (view comments)
|
Search this siteNavigationMetadataHome About Resume My Code (SVN)ArticlesARP Security Dynamic DNS with DHCP OpenLDAP+Kerberos+SASL PPP over SSH SSH Security: /bin/false Week of Unix Tools Work EfficiencyProjectsfex firefox tabsearch firefox urledit grok keynav liboverride newpsm (FreeBSD) nis2ldap pam_captcha poor man's backup Solaris audio utility xboxproxy xdotool xmlpresenter xpathtool misc scriptsPresentationsYahoo! Hack Day '06 Unix Essentials Vi/Vim EssentialsTag CloudCalendar
FriendsBarCamp Kent Brewster Tantek Çelik John Resig Wesley Shields Tyler ShieldsTechnorati |
|||||||||||||||||||||||||||||||||||||||||||||||||