Ask a Question related to PERL Modules, Design and Development.
-
pdc124 #1
reading from Net::Telnet input string problem
Im navigating my way round a series of screens using Net::telnet.
I get intermittent errors which are due to the way data is read in, in
blocks
the end of one page is
6 - PMI Details
7 - ACP details
I can recognise this with
$matchtext='ACP';
do {$text=$t2->get;#print $text;
$names.=$text;} until ($text=~m/$matchtext/i);#print $names;
but it fails if 'ACP isnt retrieved in the same block. i tried with
what I think is the end of page string
# $matchtext='22;38'; (cant get the [ escaped )
but i get the same problem
heres an end of a page when it fails
61 72 67 65 1b 5b 31 38 3b 33 38 48 36 20 2d 20 arge.[18;38H6 -
50 4d 49 20 44 65 74 61 69 6c 73 1b 5b 31 39 3b PMI Details.[19;
33 38 48 37 20 2d 20 41 43 50 20 64 65 74 61 69 38H7 - ACP detai
6c 73 1b 5b 32 32 3b 33 37 48 5b 20 5d 1b 5b 32 ls.[22;37H[ ].[2
32 3b 33 38 48 2;38H
using
$t2->waitfor("$matchtext");
generates
missing opening delimiter of match operator in argument "ACP" given to
Net::Telnet::waitfor() at /var/www/localhost/cgi-bin/ituhdupas.pl line
107
ive also tried te matchtext string as passing ASCII but still the same
problem
pdc124 Guest
-
#39188 [NEW]: reading php://input hangs with IIS
From: php at nineberry dot de Operating system: Win32 PHP version: 5.1.6 PHP Bug Type: IIS related Bug description: reading... -
Net::Telnet problem with MS Telnet Service
Hello, After reading the Net::Telnet documentation, examples, searching the 'Net, etc., I still do not completely understand the problem of... -
Question about reading input file
I'm designing a dynamic schedule and I have a quick questions about reading in from a text file. Unfortunately I'm at work and don't have access... -
reading the input type=file tag with ie6 in asp
I wanted to write a simple page to let me choose a directory and then list the files in it. The end goal was to make an easy way to copy all the... -
Reading from piped standard input on w2k
Hi all My question is related to both csharp and perl (sort of). I am trying to fork and exec a csharp program from perl and then feed input...



Reply With Quote

