From: "Chas. Owens" <[EMAIL PROTECTED]> > which can be implemented like this > > my @weekdays = join '|', qw<Sunday Monday ... Saturday>; > my @months = join '|', qw<January February ... December>; > > /Start date (?:@weekdays), ((?:@months) \d{2} \d{4})/;
I think you mean $weekdays and $months :-) It works with the @ as well, but it's misleading. There is only one item in both @weekdays and @months in your code. I bet you just forgot to change the sigil after some changes in the code :-) Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/