Re: 'Soft' link 'real; filename

2003-04-06 Thread beau
On 6 Apr 2003 at 5:27, John W. Krahn wrote: > [EMAIL PROTECTED] wrote: > > > > Hi - > > Hello, > > > A little OT, but, with Perl runing under Linux, > > is there any way to get the 'target' file name > > of a 'soft' link? > > my $actual_file = readlink $soft_link; > ... Thanks John - I don't

Re: 'Soft' link 'real; filename

2003-04-06 Thread John W. Krahn
[EMAIL PROTECTED] wrote: > > Hi - Hello, > A little OT, but, with Perl runing under Linux, > is there any way to get the 'target' file name > of a 'soft' link? my $actual_file = readlink $soft_link; > Or even determine a filename > is a 'soft' link? print "$file_name is a 'soft' link.\n" if -