Re: Binding Operator =~ Pattern Matching

2005-04-26 Thread John W. Krahn
Brian Volk wrote: Hi All. Hello, I'm having trouble getting my program to work with the files that contain trailing white spaces... I've been reading chapters 8 "More about Reg exp" and 9 "Using Reg exp" and I think I'm close... I can get the program to work if the txt files do not have trailing

Re: Binding Operator =~ Pattern Matching

2005-04-26 Thread Paul Kraus
> (my $orders_dir) > File 121212.TXT ...contains > 12345.html CR > 12346.html CR > > Here is the piece I'm having trouble w/ > > foreach my $html (@htmls) { > if ($html =~ /^($_)\s*/) { > my $msg = MIME::Lite->new ( Where does it fail? if ($html =~ /^($_)\s*/) $_ has no value s

Binding Operator =~ Pattern Matching

2005-04-26 Thread Brian Volk
Hi All. I'm having trouble getting my program to work with the files that contain trailing white spaces... I've been reading chapters 8 "More about Reg exp" and 9 "Using Reg exp" and I think I'm close... I can get the program to work if the txt files do not have trailing spaces but they are com