SPUG: 4 Quick Questions (symlinks, anon. arrays, shell commands...)
Richard A Puckett II
puckett at nwlink.com
Fri Sep 17 15:43:36 CDT 1999
Ryan Erwin wrote:
> How can I resolve where these links are pointing to?
readlink ($linked_file);
> Is there a way to find the current working directory from perl
> without using pwd in backticks? ( my $dir = `pwd` )
>
perldoc Cwd
> Is there a way to find out what a file is dynamically linked
> with besides using ldd in backticks? ( my $_ = `ldd $file` )
Not that I know of.... :(
- Richard.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
Email to majordomo at pm.org: ACTION spug-list your_address
More information about the spug-list
mailing list