Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Please advise because I think my reg expression is not correct or I am formatting it wrong?if $mypath =~ "mydirectory/dirOne/pagehere.cgi" { print "results here"; } #Now my attempt not working: if $mypath =~ "mydirectory/dirOne/*.cgi" { print "results here"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Finding all pages in a path
by ikegami (Patriarch) on Sep 23, 2005 at 14:20 UTC |