From: Blackstone, J. D. <jda...@ci...> - 2002-06-05 13:12:54
|
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. 5.004 is several years old; I'd hammer my sysadmin with this and beg them to upgrade. :) 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 > |