regex question matching dates

[email protected] (Richard Lee)
Newsgroups perl.beginners
Message-ID <[email protected]>
given then ARGV[0] is 2008052803, why woulnd't below regex match them??

} elsif ( $ARGV[0] =~ m/\b2008[01][1-31]([01][0-9]|2[0-3])\b/ ) {
      @array = qx#ls -tr $directory/$ARGV[0]*#;
      #2008052803
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.