On Friday, May 24, 2002, at 07:44 , Lance Prais wrote:
> One more question, how can I make it that it is not case sensitive when
> find
> something out of a text doc?
[..]
> next unless(/$target/);
next unless(/$target/i);
perldoc perlre
your f
One more question, how can I make it that it is not case sensitive when find
something out of a text doc?
Thanks
Lance
-Original Message-
From: drieux [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 4:58 PM
To: Lance Prais
Cc: begin begin
Subject: Re: subsrting question
On
Lance Prais wrote:
>
> Well I am have finally got the code to recognized the right substring but
> not the issue is my if statement. Could someone see what I am doing
> wrong,please.
>
> For example I ran the script and got the following output:
>
> E:\sea621\siebsrvr\BIN\perl\bin>perl emailmg
On Thursday, May 23, 2002, at 02:29 , Lance Prais wrote:
[..]
> For example I ran the script and got the following output:
>
> E:\sea621\siebsrvr\BIN\perl\bin>perl emailmgr.pl
> Successfully Completed Email Manager Working Sleeping for 10
[..]
> else
> {
> print "Successfully Completed Emai
print "Successfully Completed Email Manager Working";
print substr($line, 105, 16);
}
-Original Message-
From: John W. Krahn [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 4:17 PM
To: [EMAIL PROTECTED]
Subject: Re: subsrting question
Lance Prais wrote:
>
Lance Prais wrote:
>
> I am trying to use the substr() to search a text doc. The starting place
> is 100.
If you want to _search_ for a string you should be using index(),
rindex() or a regular expression.
> I am trying to test to see if "Sleeping for 10" is there.
>
> This is the code I
On Thursday, May 23, 2002, at 12:04 , Lance Prais wrote:
> I am trying to use the substr() to search a text doc. The starting place
> is 100.
>
> I am trying to test to see if "Sleeping for 10" is there.
>
> This is the code I am trying to use substr($line 100,16) but is only
> returning "
-Original Message-
From: Lance Prais [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 9:05 AM
To: Perl
Subject: subsrting question
I am trying to use the substr() to search a text doc. The starting place
is 100.
I am trying to test to see if "Sleeping for 10" is
I am trying to use the substr() to search a text doc. The starting place
is 100.
I am trying to test to see if "Sleeping for 10" is there.
This is the code I am trying to use substr($line 100,16) but is only
returning "Sleeping f"
What could I be doing wrong?
Thank you in advance,
Lanc