NormW
2005-10-29 19:55:43 UTC
Greetings All,
Trying a script on Perl 5.8.4 (both June and September release) and get
the following:
@files = <\\openssl\\certs\\*.pem>;
returns $files[1] = 'opensslcerts*.pem'
or
$path = \\openssl\\certs;
@files = <$path\\*.pem>;
returns $files[1] = 'opensslcerts*.pem'
but
@files = </openssl/certs/*.pem>;
returns the correct .pem file list array....
Also get the same results if you use glob(" ").
Seems this function is removing path separators if they don't face the
'right' way, even when 'escaped'...
Can anyone confirm?
Norm
Trying a script on Perl 5.8.4 (both June and September release) and get
the following:
@files = <\\openssl\\certs\\*.pem>;
returns $files[1] = 'opensslcerts*.pem'
or
$path = \\openssl\\certs;
@files = <$path\\*.pem>;
returns $files[1] = 'opensslcerts*.pem'
but
@files = </openssl/certs/*.pem>;
returns the correct .pem file list array....
Also get the same results if you use glob(" ").
Seems this function is removing path separators if they don't face the
'right' way, even when 'escaped'...
Can anyone confirm?
Norm