in reply to Re: Re: A better mod (%) operator?
in thread A better mod (%) operator?

From the Inline::ASM documentation:
WARNING

Do NOT use assembler to write Perl extensions! It's sick and wrong!
Better. Evil. Muhahaha.

Replies are listed 'Best First'.
Re: Re^3: A better mod (%) operator?
by BrowserUk (Patriarch) on Jul 08, 2002 at 23:47 UTC

    Saw that too. Begs the question: Why does it exist?

      Because it's one wicked cool hack to be able to write perl with inline assembler. The biggest problem is that the asm isn't portable between threaded and nonthreaded versions of the same version and arch of perl.


      We are using here a powerful strategy of synthesis: wishful thinking. -- The Wizard Book

      For those occasions when you've got to do what you've got to do, probably. There are some things you just can't do in C alone, though they are rare.