On Feb 7, 5:17 am, [email protected] (Rob Dixon) wrote: > Jim wrote: > > > How do I match a line ending in > > ,@@) > > using a regular expression? > > my $line = "1234567890,@@)\n"; > > if ($line =~ m/,@@\)$/) { > print "OK\n"; > > } > > HTH, > > Rob
Thanks that works -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
