How do i call another perl program using system function and pass scalar variable and array as parameters
how do i read the same in the called script.
Ex :
my $x="test";
my @arr=(10,20,30);
system ('test.pl',$x,@arr);
I tried with all terminal emulation including 4410 and VT 220. no luck. But I got the solution in different way. Since output of 'Status signaling-group 15' was single line it was not displaying it. I executed some other command immediatly after this and I got the output for both. Strange but...
I am programatically logging into Avaya Definity PBX with Net::Telnet in perl. Terminal Emualation I am using is 513. When I execute commands like 'Status Trunk 15' I am getting output. but if I execute any other command like 'Status Signaling-group 15' I am not getting any output. All commands...
When I telnet to Avaya Definity EPABX from a pc with Terminal emulation AT&T513, I get the Output Properly.
But if I do the same thing using perl I get junk characters in the output. How do I avoid these junk characters in the output when I telnet using Net:Telnet in perl
OUTPUT WHAT I GET...
I am writing a perl script to telnet to a EPABX, execute some command and capture the output. Output of the command is more than one page long and I need to pass "PAGE DOWN" key go to next page. How do I pass Page Down key in Net::Telnet
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.