SPUG: Problem deleting files

Daniel Chetlin daniel at chetlin.com
Fri Dec 1 13:06:33 CST 2000


On Fri, Dec 01, 2000 at 06:27:16PM +0000, Tim Maher/CONSULTIX wrote:
> (And I too am wondering if prior versions of Perl handled globbing
> differently, which could help justify my contrary notions about how it
> works.)

(Agreed on the beat to death, but for those interested):

[~] $ perl54 -we'warn $];$f="foo.*";my at f=<${f}>;print map{">>$_<<\n"}@f'
5.00405 at -e line 1.
>>foo.a<<
>>foo.b<<
>>foo.c<<
[~] $ perl55 -we'warn $];$f="foo.*";my at f=<${f}>;print map{">>$_<<\n"}@f'
5.00503 at -e line 1.
>>foo.a<<
>>foo.b<<
>>foo.c<<
[~] $ perl56 -we'warn $];$f="foo.*";my at f=<${f}>;print map{">>$_<<\n"}@f'
5.006 at -e line 1.
>>foo.a<<
>>foo.b<<
>>foo.c<<
[~] $ perl57 -we'warn $];$f="foo.*";my at f=<${f}>;print map{">>$_<<\n"}@f'
5.007 at -e line 1.
>>foo.a<<
>>foo.b<<
>>foo.c<<
[~] $ perlbl -we'warn $];$f="foo.*";my at f=<${f}>;print map{">>$_<<\n"}@f'
5.007 at -e line 1.
>>foo.a<<
>>foo.b<<
>>foo.c<<

-dlc

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
  Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/





More information about the spug-list mailing list