Hello igoryonya
Can you clarify which paths you intend to Find? Standard paths will vary on an application by application basis.
Standard paths for a nix could be found by readdir('/'), which is what I understand by your question. Or grep a self-created list against File::Find
You may also need to ensure you have permission to read the directories on either system, Errors can be generated if you do not have said permissions.
Not knowing the paths you are looking for, you could use Find::lib module, that iirc will return the absolute filepath for the currently running program, from which you can use relative links within your program rather than trying to discern and hard-code standard paths for many different machines.
In reply to Re: standard library to return system paths
by Don Coyote
in thread standard library to return system paths
by igoryonya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |