Or depending on when you need this found. you might able to use.
chomp($home=`pwd`);
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; beginners@perl.org
Sent: Mon, 26 Feb 2007 4:50 AM
Subject: Re: Home directory
Hi,
On 2007/02/26, at 02:26,
All,
Hi. I have a problem with the below code. I have two strings, $rdns and
$result1. I want to make sure $result 1 is NOT part of $rdns. But the below
fails...thus instead of printing the else part of the if-else-loop. It print
the main part. Does anyone know what coudl cause this.
Thank you both. I am trying to find out why "!~" operator fails. It is due
to the whitespaces. but I am using "six" to ignore spaces.
Sorry guys. Below is the actual code. I made the changes that A.R. Ferreira
suggested and it fails.
use strict;
use warnings;
my $rdns="cn=Exchang
Tom/A.R.,
I owe you both an appology. You guys are correct, my origional statement is
different than what I was trying to say.
Thank you both so much.
Bill
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: beginners@perl.org
Sent: Mon, 26 Feb 2007 1:10 PM
S