On May 8, 6:29 am, g...@vi-anec.de ("g...@vi-anec.de") wrote:
> Hi,
>
> I want to read the content of a hidden folder like
>
> $path = '/home/user/.gnome2/folder/folder';
>
> in a list but with
>
> opendir(DIR, "$path") || die "folder not found" $!;
> ...
> "SHC" == Shawn H Corey writes:
SHC> On 11-05-08 09:29 AM, g...@vi-anec.de wrote:
>> opendir(DIR, "$path") || die "folder not found" $!;
SHC> If you are checking if the folder exists, use the -d file test:
SHC> if( -d $path ){
SHC> print "The folder $path exists\n";
SHC> }els
On 11-05-08 09:29 AM, g...@vi-anec.de wrote:
opendir(DIR, "$path") || die "folder not found" $!;
If you are checking if the folder exists, use the -d file test:
if( -d $path ){
print "The folder $path exists\n";
}else{
print "Sorry, not path to $path\n";
}
See `perldoc perlfunc` and sear
> "gd" == guba@vi-anec de writes:
gd> I want to read the content of a hidden folder like
hidden folders in unix are only hidden when listed in a shell without
the -a option to ls. they are never hidden to programs.
gd> $path = '/home/user/.gnome2/folder/folder';
are you sure there is a
Hi,
I want to read the content of a hidden folder like
$path = '/home/user/.gnome2/folder/folder';
in a list but with
opendir(DIR, "$path") || die "folder not found" $!;
I got an error message.
Thanks for the help!
guba
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For addition