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 Farinella
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 something
without doing that thing for every element in the array
so much. :-)
Hope this helps!
--Tom Phoenix
Stonehenge Perl Training
--
Charles Farinella
Appropriate Solutions, Inc. (www.AppropriateSolutions.com)
[EMAIL PROTECTED]
voice: 603.924.6079 fax: 603.924.8668
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 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, I'm already in over my head.
I'm trying
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
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 duplicates and am not sure how to proceed. Help
-attach(
Path= './mailbody' ,
Filename= 'message.txt'
);
$msg-attach(
Path= ./logfile_07-24-2005.tar.gz ,
Disposition = attachment
);
$msg-send;
print Mission accomplished\n;
--
Charles Farinella
Appropriate Solutions, Inc
-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
I'm trying to send a multipart mail message using MIME::Lite.
[Tim
-disconnect;
--
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
;
}
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-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
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.
If I print $_, the email addresses are correct, if I
--
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
14 matches
Mail list logo