Advertisement

03.28.2005 at 03:58AM PST, ID: 21366629
[x]
Attachment Details

Perl Regex equivelent of instr

Asked by MAVERICK in Perl Programming Language

Tags: perl, instr

I'm trying to get this part of a perl script to work.

$excludezone = "com\.ru";

if($domain2=~ m/\\$exclude_zone/ ) {
   print "sorry $exclude_zone tld is not allowed";
}

I basically need an equivelent of PHPs intr function.


Thanks alotStart Free Trial
[+][-]03.28.2005 at 04:10AM PST, ID: 13642960

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.28.2005 at 04:26AM PST, ID: 13643030

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Perl Programming Language
Tags: perl, instr
Sign Up Now!
Solution Provided By: kandura
Participating Experts: 5
Solution Grade: A
 
 
[+][-]03.28.2005 at 05:14AM PST, ID: 13643213

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.28.2005 at 02:05PM PST, ID: 13647536

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.28.2005 at 06:28PM PST, ID: 13648955

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.29.2005 at 12:27AM PST, ID: 13650480

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.29.2005 at 01:05PM PST, ID: 13656533

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32