in reply to Re: Divisors for a number
in thread Divisors for a number

How about some golf?

($%%$_)||print$_.$/for 1..($%=shift)

Replies are listed 'Best First'.
Re^3: Divisors of a number
by Athanasius (Archbishop) on Mar 03, 2015 at 15:52 UTC
Re^3: Divisors for a number
by LanX (Saint) on Mar 03, 2015 at 15:54 UTC
    > How about some golf?

    more obfuscation than golf. :)

    Beside the cryptic variable-name, is the first paren not needed and you can use say to shorten print.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)

    PS: Je suis Charlie!