http://www.perlmonks.org?node_id=188778


in reply to What's your sine?

A pun like that shouldn't go unanswered...

#!/usr/bin/perl -p BEGIN{*ARGV=DATA,$,=$"x($=>>1^6).$/}s;\w; substr$,,index($_,$&),1,$&;eg&&($_=!($.^5)?$,:$+) __END__ You really expect me to cosine that loan? J he ac |u t r h k +-s----o----\----/----e- | t n P l r | \a er
"One word of warning: if you meet a bunch of Perl programmers on the bus or something, don't look them in the eye. They've been known to try to convert the young into Perl monks." - Frank Willison

Replies are listed 'Best First'.
Re: Re: What's your sine?
by Anonymous Monk on Aug 09, 2002 at 20:41 UTC
    As long as we're escalating... ;)
    #!/usr/bin/perl -p BEGIN{*ARGV=DATA,$,=$"x($=>>1^6).$/}$;=$#_;s|.|++$;; $&=~/\w/&&substr($,,$;,1,$&)|eg;($_=!($.^5)?$,:$+) __END__ You're good, but I still hope to come in secant. | s o e r h r Ju th l/ +----------------------- | /a /P ck | t n r e a e