in reply to thanks, i'm new. rtfm right? :)
Error checking is left to the exersize of the student, as well as accomidating for two or more hits of /$count/. Besides, the less you spawn a shell, the better (unless it's a quick hack);opendir(DIR,"."); @d=readdir(DIR); closedir(DIR); foreach $j (@d) { $_=$j; $template=/^.*\.[^.]+/ if(/$count/); }
--
$Stalag99{"URL"}="http://stalag99.keenspace.com";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: thanks
by the_slycer (Chaplain) on Oct 25, 2000 at 17:30 UTC | |
|
Don't use opendir
by tedv (Pilgrim) on Oct 25, 2000 at 21:28 UTC | |
by runrig (Abbot) on Oct 25, 2000 at 21:56 UTC | |
by merlyn (Sage) on Oct 25, 2000 at 21:57 UTC | |
by tilly (Archbishop) on Oct 26, 2000 at 07:02 UTC |