venkatesan_G02 has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I am using Net::TL1 module to access a Network Element thru TL1 interface.

#!C:/Perl/bin/perl.exe use Net::TL1; $obj = new Net::TL1 ({ Host => '172.18.9.140', Port => '32775' }); $obj->Login ({ Target => '172.18.9.140', User => 'provis1', Password => 'password', ctag => 'vg' });

But i am receiving the following error:
Error:Use of uninitialized value $line in pattern match (m//) at C:/Perl/site/lib/Net/ TL1.pm line 253.
Please advice as where and what am i doing wrong.
Thanks!!!

Replies are listed 'Best First'.
Re: Net::TL1 error - Login error
by toolic (Bishop) on Oct 16, 2009 at 17:26 UTC
    I know nothing about this module, but here are some things to consider.

    Looking at Net::TL1 on CPAN, I notice that its test results are pretty poor (Net-TL1-0.05):

    PASS (26) FAIL (73) UNKNOWN (5)
    The 'Perl/Platform Version Matrix' does not show any testing on MSWin32 or cygwin. Are you sure this module is supported on your OS?

    Can you run any of the supplied tests? Have you ever had any success using this module before?

    Have you tried looking at the module's source code?

      I am able run the supplied tests successfully. And this is the first time, i am trying to access this module.