in reply to regex/perl golf: loops

By the normal rules of golf, a score of 10 :)

C:\test>echo perlmonks rule! | perl -pe"$_ x=10" perlmonks rule! perlmonks rule! perlmonks rule! perlmonks rule! perlmonks rule! perlmonks rule! perlmonks rule! perlmonks rule! perlmonks rule! perlmonks rule!

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

Replies are listed 'Best First'.
Re^2: regex/perl golf: loops (10)
by Anonymous Monk on Apr 25, 2012 at 21:06 UTC
    haha yes :p
      lets say it runs from within a perl file, not from using the console.. just as a normal loop would in the average perl script
        Then would be: print "perlmonks rule!\n" x 10;