User: Password:
Subscribe / Log in / New account

No thanks.

No thanks.

Posted Nov 10, 2012 14:09 UTC (Sat) by HelloWorld (guest, #56129)
In reply to: No thanks. by hummassa
Parent article: Haley: We're doing an ARM64 OpenJDK port!

This works because your version of dup returns excess arguments unmodified. Most perl functions don't do that, so it's not quite the same thing.

(Log in to post comments)

No thanks.

Posted Nov 11, 2012 0:44 UTC (Sun) by hummassa (subscriber, #307) [Link]

It does that because I modelled it after the postcript/forth example. In perl, is actually quite easy to adopt this style of programming:

sub mad { my($a, $b, $c, @rest) = @_; $a*$b+$c, @rest }

So you can use @_ as the forth/postcript stack...

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds