There are parrot opcodes for things like opening and reading a file, and PMCs for things like random numbers, environment variables, timers etc. But (unless I've missed something) there is not yet anything that lets me (from PIR) read a directory and get a list of the files within that directory, or get the subdirectories of that directory.
What's the best way to access functionality like that? Should I write a PMC that behaves like Ruby's pathname class? Or should I use NCI to access some C stuff? Regards, -- Roger Browne <[EMAIL PROTECTED]>