#x27;s just what I'm looking for, thanks so much. :-)
Hope this helps!
--Tom Phoenix
Stonehenge Perl Training
--
--------
Charles Farinella
Appropriate Solutions, Inc. (www.AppropriateSolutions.com)
[EMAIL PROTECTED]
vo
e webforms for our customers and we're getting spammed. I'd like
to put all the phrases into an array instead of all of this 'or' business.
On 10/10/06, Charles Farinella <[EMAIL PROTECTED]> wrote:
How can I iterate through an array and if I find a match do somet
How can I iterate through an array and if I find a match do something
without doing that thing for every element in the array. I've been
trying to do it with foreach, but that isn't working.
--
--------
Charles
On Fri, 2005-10-14 at 15:34, Jeff 'japhy' Pinyan wrote:
> On Oct 14, Charles Farinella said:
>
> > Does anyone know how I can search for non-ascii characters in a text
> > file?
>
> By non-ASCII, do you mean characters high-bit ASCII or Unicode?
h,
Does anyone know how I can search for non-ascii characters in a text
file?
--charlie
--
Charles Farinella
Appropriate Solutions, Inc. (www.AppropriateSolutions.com)
[EMAIL PROTECTED]
603.924.6079
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
On Wed, 2005-10-05 at 10:43, Jeff 'japhy' Pinyan wrote:
> On Oct 5, Charles Farinella said:
>
> > I have a list of 15,000+ items in a tab separated list. I am putting
> > all the values into an array, and I need to look through all $array[0]
> > for duplica
I have a list of 15,000+ items in a tab separated list. I am putting
all the values into an array, and I need to look through all $array[0]
for duplicates and am not sure how to proceed. Help?
thanks,
--charlie
--
Charles Farinella
Appropriate Solutions, Inc. (www.AppropriateSolutions.com
lts of about 6 $sth->fetchrow_arrays"
I don't know how to do either, unfortunately.
>
> -Original Message-
> From: Charles Farinella [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 25, 2005 1:50 PM
> To: Perl Beginners
> Subject: MIME::Lite message text
>
&
bject => 'test attach',
Type=> 'multipart/mixed'
);
$msg->attach(
Path=> './mailbody' ,
Filename=> 'message.txt'
);
$msg->attach(
Path=> "./logfile_07-24-2005.tar.gz
|| die;
>
> open INFILE, "<$infile" or die "Can't open file for reading: $!";
> while ( ) {
>$sth->execute( $_ );
> }
> close INFILE;
>
> $sth->finish;
> $dbh->disconnect;
--
Charles Farinella
Appropriate Solutions,
On Mon, 2005-07-18 at 11:53, Wiggins d'Anconia wrote:
> Charles Farinella wrote:
> > I'm sure this is very simple and I am overlooking something. I want to
> > read a list of bad email addresses from a file and remove them from my
> > database.
> >
>
$sth->execute;
finish $sth;
$dbh->disconnect;
}
close( INFILE );
==
--
Charles Farinella
Appropriate Solutions, Inc. (www.AppropriateSolutions.com)
[EMAIL PROTECTED]
603.924.6079
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
7;t work.
--charlie
--
Charles Farinella
Appropriate Solutions, Inc. (www.AppropriateSolutions.com)
[EMAIL PROTECTED]
603.924.6079
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
I need to look at a directory for about 90 seconds, and if a certain
file shows up, do something with it. A pointer to a man page or any
reference would be appreciated.
--charlie
--
Charles Farinella
Appropriate Solutions, Inc.
603-924-6079
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
14 matches
Mail list logo