in reply to (Golf) Friday Golf: Print Formatted Sequence of Digits

Total Cheater method:
First: Create module called "i.pm" that looks like this:
print join(" ", map { sprintf("%03u", $_) } (2..20)), "\n";exit 0
Then I can get it to 7 characters:
perl -Mi

Replies are listed 'Best First'.
Re: Re: (Golf) Friday Golf: Print Formatted Sequence of Digits
by demerphq (Chancellor) on Aug 17, 2003 at 10:04 UTC

    Er, this waits on STDIN for a program to be piped in.


    ---
    demerphq

    <Elian> And I do take a kind of perverse pleasure in having an OO assembly language...
      That is why it says "exit 0" at the end! :)