On 9/5/01 3:14 PM, Paul Jasa wrote:
> Fellow Perl enthusiasts,
> I have a major issue that I don't even know where to begin to explore for a
> solution. I call it the "Crazy t" because it has to do with a "t" that
> appears out of nowhere, intermittenlty, on my scripts when I run them. I
> have a script that logs into devices on the net, and checks for information.
> When it logs in, this t appears intemittently, as part of the login name, or
> in the password (because the login will go fine, but the password won't
> work). This is a rather odd thing, but it is destroying any help that the
> script might provide to us.
>
> I was wondering if any of you have seen this occur at any time, and if there
> is a fix to this. Thank you for your replies in advance.
> Paul Jasa
Well, all I know is that, in my experience, joining things with an empty
regex can introduce extra characters. For instance:
@array = qw(a apple b banana);
$scalar = join(//,@array);
>From that, $scalar is assigned to 'a1apple1b1banana', not 'aapplebbanana'
The way I get around this is to replace // with "". (i.e. join("",@array);)
I realize that a 1 is not a t, but I just thought this might be of some use.
If it's not, just ignore this message :)
-Michael Kelly
Email: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]