stat, readdir, opendir and friends
am 01.02.2008 15:25:53 von Raful Mr Mitchell H
This is a multi-part message in MIME format.
--===============0083940034==
content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C864DE.59AC8E56"
This is a multi-part message in MIME format.
------_=_NextPart_001_01C864DE.59AC8E56
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have tried using both DirHandle as well as the tradition opendir and =
readdir to get the mode. Depending on the directory I open, directories =
are somtimes found and sometimes they are skipped. However, the .. is =
never skipped over and is identified as a dircotry. Any ideas?
=20
Mitch
Mitchell Raful MCSE CCNP=20
MCB Quantico=20
Personal and Family Readiness (MRI)=20
3044 Catlin Avenue=20
Quantico, VA 22134=20
Com: 703-784-5991=20
DSN: 278-5991=20
Cell: 804-363-0731=20
=20
------_=_NextPart_001_01C864DE.59AC8E56
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
charset=3Diso-8859-1">
I have =
tried using=20
both DirHandle as well as the tradition opendir and readdir to get the=20
mode. Depending on the directory I open, directories are somtimes =
found=20
and sometimes they are skipped. However, the .. =
is never=20
skipped over and is identified as a dircotry. Any=20
ideas?
size=3D2>
size=3D2>Mitch
Mitchell Raful MCSE CCNP
face=3DArial=20
size=3D2>MCB Quantico
Personal =
and Family=20
Readiness (MRI)
3044 Catlin =
Avenue=20
Quantico, VA 22134
face=3DArial=20
size=3D2>Com: 703-784-5991
DSN: =
278-5991=20
Cell: 804-363-0731
------_=_NextPart_001_01C864DE.59AC8E56--
--===============0083940034==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============0083940034==--
RE: stat, readdir, opendir and friends
am 01.02.2008 16:04:15 von Erich.Singer
This is a multi-part message in MIME format.
--===============1908587230==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C864E3.B67D0794"
This is a multi-part message in MIME format.
------_=_NextPart_001_01C864E3.B67D0794
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hello
=20
Maybe you can use
=20
next if $file =3D~ /^\.\.?$/;
=20
HTH
________________________________
From: activeperl-bounces@listserv.ActiveState.com
[mailto:activeperl-bounces@listserv.ActiveState.com] On Behalf Of Raful
Mr Mitchell H
Sent: Friday, February 01, 2008 9:26 AM
To: Activeperl (E-mail)
Subject: stat, readdir, opendir and friends
I have tried using both DirHandle as well as the tradition opendir and
readdir to get the mode. Depending on the directory I open, directories
are somtimes found and sometimes they are skipped. However, the .. is
never skipped over and is identified as a dircotry. Any ideas?
=20
Mitch
Mitchell Raful MCSE CCNP=20
MCB Quantico=20
Personal and Family Readiness (MRI)=20
3044 Catlin Avenue=20
Quantico, VA 22134=20
Com: 703-784-5991=20
DSN: 278-5991=20
Cell: 804-363-0731=20
=20
------_=_NextPart_001_01C864E3.B67D0794
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
charset=3Dus-ascii">
face=3DArial=20
color=3D#0000ff size=3D2>Hello
face=3DArial=20
color=3D#0000ff size=3D2>
face=3DArial=20
color=3D#0000ff size=3D2>Maybe you can use
face=3DArial=20
color=3D#0000ff size=3D2>
face=3DArial=20
color=3D#0000ff size=3D2>next if $file =3D~ =
/^\.\.?$/;
face=3DArial=20
color=3D#0000ff size=3D2>
face=3DArial=20
color=3D#0000ff size=3D2>HTH
I have =
tried using=20
both DirHandle as well as the tradition opendir and readdir to get the=20
mode. Depending on the directory I open, directories are somtimes =
found=20
and sometimes they are skipped. However, the .. =
is never=20
skipped over and is identified as a dircotry. Any=20
ideas?
size=3D2>
size=3D2>Mitch
Mitchell Raful MCSE CCNP
face=3DArial=20
size=3D2>MCB Quantico
Personal =
and Family=20
Readiness (MRI)
3044 Catlin =
Avenue=20
Quantico, VA 22134
face=3DArial=20
size=3D2>Com: 703-784-5991
DSN: =
278-5991=20
Cell: 804-363-0731
------_=_NextPart_001_01C864E3.B67D0794--
--===============1908587230==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============1908587230==--
RE: stat, readdir, opendir and friends
am 01.02.2008 16:19:11 von Brian Raven
From: activeperl-bounces@listserv.ActiveState.com
[mailto:activeperl-bounces@listserv.ActiveState.com] On Behalf Of Raful
Mr Mitchell H
Sent: 01 February 2008 14:26
To: Activeperl (E-mail)
Subject: stat, readdir, opendir and friends
> I have tried using both DirHandle as well as the tradition opendir and
readdir to get the mode. Depending on =
> the directory I open, directories are somtimes found and sometimes
they are skipped. However, the .. is never > skipped over and is
identified as a dircotry. Any ideas?
Sorry, but I find it really hard to work out what it is you are asking
for, or what your problem is. Perhaps you could explain what it is that
you are trying to accomplish. A short example script that demonstrates
your problem would also help.
The more you help us to help you, the easier it is to help you.
HTH
-- =
Brian Raven =
==================== =====3D=
================
Atos Euronext Market Solutions Disclaimer
==================== =====3D=
================
The information contained in this e-mail is confidential and solely for the=
intended addressee(s). Unauthorised reproduction, disclosure, modification=
, and/or distribution of this email may be unlawful.
If you have received this email in error, please notify the sender immediat=
ely and delete it from your system. The views expressed in this message do =
not necessarily reflect those of Atos Euronext Market Solutions.
Atos Euronext Market Solutions Limited - Registered in England & Wales with=
registration no. 3962327. Registered office address at 25 Bank Street Lon=
don E14 5NQ United Kingdom. =
Atos Euronext Market Solutions SAS - Registered in France with registration=
no. 425 100 294. Registered office address at 6/8 Boulevard Haussmann 750=
09 Paris France.
L'information contenue dans cet e-mail est confidentielle et uniquement des=
tinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. Tou=
te copie, publication ou diffusion de cet email est interdite. Si cet e-mai=
l vous parvient par erreur, nous vous prions de bien vouloir prevenir l'exp=
editeur immediatement et d'effacer le e-mail et annexes jointes de votre sy=
steme. Le contenu de ce message electronique ne represente pas necessaireme=
nt la position ou le point de vue d'Atos Euronext Market Solutions.
Atos Euronext Market Solutions Limited Soci=E9t=E9 de droit anglais, enregi=
str=E9e au Royaume Uni sous le num=E9ro 3962327, dont le si=E8ge social se =
situe 25 Bank Street E14 5NQ Londres Royaume Uni.
Atos Euronext Market Solutions SAS, soci=E9t=E9 par actions simplifi=E9e, e=
nregistr=E9 au registre dui commerce et des soci=E9t=E9s sous le num=E9ro 4=
25 100 294 RCS Paris et dont le si=E8ge social se situe 6/8 Boulevard Hauss=
mann 75009 Paris France.
==================== =====3D=
================
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs