On 7/12/06, Nishi Bhonsle <[EMAIL PROTECTED]> wrote:
Hi:
I would like to check whether the string [server_bin.files] exists in a
particular file and if it does, then do not add it again.
How can I check for this string using perl regex?
Perl Faq 4
print "seen server_bin.files" if /server_bin\.files/;
--
WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>