in reply to Checking database for match
So Having said all of that, perhaps something like this will help you get started
Now if that didnt help then perhaps you need to think about what additional information you might need to provide us with to help us to help you.use strict; use warnings; our $TEXTFILE="/some/path/file.ext"; open(TEXTFILE) || die "Failed to open $TEXTFILE:$!"; local $/; my $text=<TEXTFILE>; # Slurp the whole file into one string print "Matched!" if $text=~/match/;
Also you might try the following and see if it provides you with the information you need:
perldoc perlretut perldoc perlopentut perldoc perlre perldoc perlop perldoc perlvar
HTH
Yves / DeMerphq
--
Have you registered your Name Space?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Checking database for match
by Aristotle (Chancellor) on Nov 11, 2001 at 08:07 UTC |