Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2016-10-27 06:37 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (353 votes). Check out past polls.