SPUG: double curlies [was RE: One Python users' view of Perl]

Michael R. Wolf MichaelRWolf at att.net
Thu Jun 14 20:41:38 PDT 2007


> if test -d /directory; then #{{
>     # do something
> else #}{
>     # do something else
> fi #}}

Curlies++

Clever use of double curlies!!  It makes great sense from the end of an else
clause to go back to the beginning of the block or the controlling if.  Neat
idea.




More information about the spug-list mailing list