Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Range of File Names and For/While Problem

by jeffa (Bishop)
on Sep 22, 2003 at 19:34 UTC ( #293244=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @files = qw(
       d:\log\exported\10Sep2003.elog
    ...
       d:\log\exported\17Sep2003.elog
       d:\log\exported\22Sep2003.elog
    );
    
  2. or download this
    my @files = map q|d:\log\exported\\| . $_ . 'Sep2003.elog', 10..17,22;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://293244]
help
Chatterbox?
and not a whimper to be heard...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (12)
As of 2018-06-22 17:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (124 votes). Check out past polls.

    Notices?