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

Re: Convert to Single line

by zek152 (Pilgrim)
on Jul 07, 2011 at 13:35 UTC ( [id://913185]=note: print w/replies, xml ) Need Help??


in reply to Convert to Single line

Here is a poorly written one liner...

$ perl -e "for (2 .. $ARGV[0]-1) {$ARGV[0]*=$_;} print $ARGV[0];" 7 $ 5040 $

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2026-01-16 05:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (118 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.