Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Module.pm ports_ordered() seems to return an array of port names and not references. #66
I'm not sure if it's me or my interpretation of the docs.
I replaced show_module_names() of vier with :
The results look like this :
I was expecting a port reference and not a port name in $sig.
Please comment and I can supply a patch either to the docs or the code.
Original Redmine Comment
Hmm, yes. I think I'd prefer to change the documentation to say it returns text references, as that preserves backward compatibility, and also at the time that list is made the references don't exist yet. I think find_port_by_index be used if you really want the reference.