From: <ex...@ih...> - 2002-06-07 00:29:40
|
Blackstone, J. David writes: > Judging by the problem with "qr," I'm guessing Expect.pm will not work > with any Perl earlier than 5.005 (or is it 5.6?) which introduced the qr// > syntax for compiling regular expressions and passing them around as reusable > values. Even if the module itself ran under an earlier Perl, I'm guessing > you wouldn't find it near as useful without this syntax. quotemeta is new too I found out (test.pl only though) It looks like my problems are in Expect with spawn these lines seem to be where things just hang: 144 open(STDIN,"<&". $slv->fileno()) 147 open(STDOUT,">&". $slv->fileno()) 150 open(STDERR,">&". $slv->fileno()) Okay maybe I'm SOL but maybe someone has a hunch on what the problem is??? > > 5.004 is several years old; I'd hammer my sysadmin with this and beg them > to upgrade. :) If only life were so simple....I have the power to perform the upgrade but there are dependencies on this perl. I don't know what they are.... > > jdb > >> -----Original Message----- >> From: ex...@ih... [mailto:ex...@ih...] >> Sent: Tuesday, June 04, 2002 7:46 PM >> To: exp...@li... >> Subject: [Expectperl-discuss] perl 500404 with Expect 1.15 >> >> >> Apologies if this is mentioned somewhere. I did look >> in the readme and the man page. Does expect >> work with perl 5.00404? I am having some >> problems. expect spawn is hanging >> the test.pl didn't run: >> >> perl test.pl >> 1..36 >> Bareword "qr" not allowed while "strict subs" in use at >> test.pl line 270. >> syntax error at test.pl line 270, near "/^" >> Bareword "prompt" not allowed while "strict subs" in use at >> test.pl line >> 270. >> Global symbol "self" requires explicit package name at >> test.pl line 270. >> Substitution pattern not terminated at test.pl line 276. >> >> >> _______________________________________________________________ >> >> Don't miss the 2002 Sprint PCS Application Developer's Conference >> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm >> >> _______________________________________________ >> Expectperl-discuss mailing list >> Exp...@li... >> https://lists.sourceforge.net/lists/listinfo/expectperl-discuss >> > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Expectperl-discuss mailing list > Exp...@li... > https://lists.sourceforge.net/lists/listinfo/expectperl-discuss |