Search   Feed   Browse   Add
Feed items 1 - 8 of 8 for March 2008

perl.fwp

...

Re: YN golf by Chris Dolan - March 31, 2008

On Mar 31, 2008, at 6:54 PM, Philippe Bruhat (BooK) wrote:> On Mon, Mar 31, 2008 at 04:34:58PM -0700, Rick Klement wrote:>>>> perl -le &39;print for glob"Y,N"x5&39;>>>> Of course you have to run this in a directory that doesn&39;t contain> any file matching YN5$.Not true. The notation doesn&39;t care whether files of that name actual exist. I tested like so on Mac:% touch YYYYY% perl -le &39;print for...
http://www.nntp.perl.org/group/perl.fwp/2008/03/msg4100.html

Re: YN golf by Zed Lopez - March 31, 2008

On Mon, Mar 31, 2008 at 05:50:24PM -0500, Uri Guttman wrote:> perl -le &39;print join "n", map tr01NY; $_ map unpack( "b5", chr), 0 .. 31&39;Also, I&39;m sure, easily bested:perl -e &39;for(0..31)$_=sprintf"%05bn",$_;y01YN;printmarginally shorter not-to-hoyle hybrid: seq 0 31perl -pe &39;$_=sprintf"%05bn",$_;y01YN&39;--zed at-sign apricot dot com http:www.MemeMachineGo.comZed Lopez PO Box 12546 Berkeley CA 94712
http://www.nntp.perl.org/group/perl.fwp/2008/03/msg4099.html

Re: spam YN golf by Josh Goldberg - March 31, 2008

Knocking a few chars off yours for perl -le &39;printjoin$,mapy01NY;$_map unpack("b5",chr),0..31&39;and shrunk a few more by removing the join and using sprintf:perl -le &39;print mapy10 YN;$_mapsprintf"%5b$",$_0..31&39;On Mon, Mar 31, 2008 at 3:50 PM, Uri Guttman <uristemsystems.com> wrote:>> someone posted (and it wasn&39;t homework) for an easy way to get all> possible combos of YN (5 chars so 32 answers). he got some basic> multiline answers but i think.
http://www.nntp.perl.org/group/perl.fwp/2008/03/msg4098.html

Re: YN golf by Philippe Bruhat - March 31, 2008

On Mon, Mar 31, 2008 at 04:34:58PM -0700, Rick Klement wrote:> > perl -le &39;print for glob"Y,N"x5&39;> Of course you have to run this in a directory that doesn&39;t containany file matching YN5$.-- Philippe Bruhat (BooK) The learned man makes a mistake but once... but the truly stupid keep practicing until they get it right. (Moral from Groo The Wanderer 75 (Epic))
http://www.nntp.perl.org/group/perl.fwp/2008/03/msg4097.html

Re: YN golf by Rick Klement - March 31, 2008

Uri Guttman wrote:> > someone posted (and it wasn&39;t homework) for an easy way to get all> possible combos of YN (5 chars so 32 answers). he got some basic> multiline answers but i think it makes for a great golf problem.> > here is my first pass which i am sure can be easily bested. i haven&39;t> even squeezed out the white spaces but it does work.> > golf away!> > uri> > perl -le &39;print join "n", map tr01NY; $_ map unpack( "b5",..
http://www.nntp.perl.org/group/perl.fwp/2008/03/msg4096.html

YN golf by Uri Guttman - March 31, 2008

someone posted (and it wasn&39;t homework) for an easy way to get allpossible combos of YN (5 chars so 32 answers). he got some basicmultiline answers but i think it makes for a great golf problem.here is my first pass which i am sure can be easily bested. i haven&39;teven squeezed out the white spaces but it does work.golf away!uriperl -le &39;print join "n", map tr01NY; $_ map unpack( "b5", chr), 0 .. 31&39;-- Uri Guttman ------ uristemsystems.com -------- ...
http://www.nntp.perl.org/group/perl.fwp/2008/03/msg4095.html

Re: Name the secret operator by Michael G Schwern - March 20, 2008

Philippe Bruhat (BooK) wrote:> Hi,> > while doing some research for a talk on Perl secret operators, I tried> to find who first coined the term "secret operator".> > I found a post from Greg Allen on February 2004 on this very list> (http:groups.google.comgroupperl.fwpmsge62668a760de1652),> and then a post by Abigail on comp.lang.perl.misc on January 2003> (http:groups.google.comgroupcomp.lang.perl.miscmsg22cfcd81a1521ec4).> > Does anyone know of an...
http://www.nntp.perl.org/group/perl.fwp/2008/03/msg4094.html

Name the secret operator by Philippe Bruhat - March 19, 2008

Hi,while doing some research for a talk on Perl secret operators, I triedto find who first coined the term "secret operator".I found a post from Greg Allen on February 2004 on this very list(http:groups.google.comgroupperl.fwpmsge62668a760de1652),and then a post by Abigail on comp.lang.perl.misc on January 2003(http:groups.google.comgroupcomp.lang.perl.miscmsg22cfcd81a1521ec4).Does anyone know of an earlier occurence of the termNow that I have seen Abigail&39;s post on clpm, I want to.
http://www.nntp.perl.org/group/perl.fwp/2008/03/msg4093.html
Available Archives
- January (28 items)
- March (8 items)
- April (4 items)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact