Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Homework Golf

by Jasper (Chaplain)
on Dec 17, 2013 at 14:47 UTC ( #1067471=note: print w/replies, xml ) Need Help??

in reply to Homework Golf

I'm about a week late to this, but in case anyone hasn't posted something exactly like this:

-p $_ x=65==map{97..ord lc}/./g

thanks to user oiskuu for the correction on the 97

Replies are listed 'Best First'.
Re^2: Homework Golf
by Jasper (Chaplain) on Feb 19, 2014 at 13:57 UTC
    $_ x=65==map{}/./g

    This 'problem' popped into my head again last week with the thought that, unusually, I'd been an idiot. :) This beats even Grimy's 5 bit match (with the false positives) into a cocked hat. I think I win :D

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1067471]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2018-02-23 13:22 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (302 votes). Check out past polls.