I know enough Perl to be dangerous!
I have a form that sends out several different confirmations depending on
who the receipient is.
One particular E-mail I need to be in html format so I can put it into a
specific format. I added a couple of lines to the sendmail routine I was
using and it
OK I need to parse a rather large logfile and delete specific lines.
The file is called logfile and is simply a large text file.
Is there some simple way to read in the file and delete specific lines
that contain DSL:[EMAIL PROTECTED] and the rerun the process to delete
[EMAIL PROTECTED] -or-
OK I'm trying to modify the code below to recognize an additional next if statement.
I have
included a snip of the file that the code uses an input.
Greg
next if /Acct-Session-Id = /;This statment works!
# I added this statement. I don't understand the /'s in the statement. And
] Password = secret
...
Greg Schiedler
Can someone help me edit my users file via perl would go thru my users file
locate a user with the right username (say user) replace his password
(say old-pass) with a new password print out the entire user file so i
can pipe it to a file
perl -pi