Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Re: Re: Luhn Number Golf

by blakem (Monsignor)
on Mar 08, 2002 at 09:10 UTC ( #150260=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Luhn Number Golf
in thread Luhn Number Golf

If you aren't going for strictness, you can get the same initialization effect with
($_,$s)=@_
Which is one char shorter than
my$s;$_=pop
If you also want to keep strictness, you can always sidestep it by replacing $s with a global punctuation variable.

-Blake

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://150260]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2021-04-14 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?