develooper Front page | perl.golf | Postings from January 2006

Re: PBP

Thread Previous | Thread Next
From:
neko
Date:
January 22, 2006 14:16
Subject:
Re: PBP
Message ID:
20060122221548.GD16468@greenie.muc.de
Eugene van der Pijll (vanderpijll@gmail.com) - Thu, Jan 19, 2006 at 08:59:11PM +0100:
> > if(FOO)
> >   {
> >   print "foo!";
> >   }
> > else
> >   {
> >   print "bar!";
> >   }
> > 
> > That's nuts! Er, I mean except for those on the Damian(tm) side:
> > Everyone(tm) knows(tm) that the "Proper Indentation"(tm) is:
> > 
> > if(FOO)  {
> >   print "foo!";
> > }
> > else  {
> >   print "bar!";
> > }
> 
> print"foo!"^"\cD\cN\x1D"x!FOO

I'm wondering why you don't try to pack it into an eval....
SCNR ;-)

Munich perl mongers have a little golf for me ... :-) so I'm happy
at the moment... (but not winning it as far, as I can see :-) )

neko
-- 
neko@greenie.muc.de 	  Simone Demmel		Muenchen (Germany)
Fax.: 089/356 550 25 		      http://greenie.muc.de/~neko/
        Wo ist am Internet der Henkel zum wegschmeissen?

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About