SPUG: intrigued by obfuscation

tcaine@cac.washington.edu tcaine at cac.washington.edu
Thu Jul 21 18:26:32 PDT 2005


($ ,, $ ") is a list containing $, and $", the output field separator and 
the list seperator, respectively.  The ;;'s are just extra line
termination characters and can be removed to still produce "shazam".  The 
last ";;" is a scalar being used in void context.

-T

On Thu, 21 Jul 2005, mike wrote:

> somebody's profile in the kwiki ya'll use had this on the signature:
>
>
> box% perl -e '( $ ,, $ ")=("a".."z")[0,-1]; print "sh", $ ","m\n";;";;"'
> shazam
> box%
>
> While I'm not all that new to perl , I am not familiar with these ,,'s
> and ;;'s .
>
> Could someone point me to some proper documentation?
>
> perldoc perlop only had .., which I already use frequently
> _____________________________________________________________
> Seattle Perl Users Group Mailing List
>     POST TO: spug-list at pm.org
> SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list
>    MEETINGS: 3rd Tuesdays, Location: Amazon.com Pac-Med
>    WEB PAGE: http://seattleperl.org/
>


More information about the spug-list mailing list