Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Raw core Perl doesn't have named arguments. You can pass in a list of key/value pairs and the function can simply pull those in a hash, but you don't need to have them in the right order for that.

I don't know all libraries on CPAN that implement some kind of function signature or argument validation, but I can't remember seeing one that requires ordered named arguments.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: