Gerald Richter wrote:
> as long as you don't use any of the new features of Embperl 2, you should be
> able to create code that works under 1.3 and 2.0 (I have done this in the
> past, now I only using 2.0).

This is very good to know, because now any problems I have can be looked
at as simple bugs rather than maintenance headaches of the kind I was
describing before...

> For the $req_rec issue: $req_rec are the same in 2.0 as in 1.3, there is no
> difference. There is a test in make test that verifies this and it still
> works in 2.0b9.

There seems to be some issue with this, but perhaps it is due to me not
using things as they should be. There is a line in my base.epl which
causes 2.0 to barf:

        $req_rec->update_mtime(time());

This works fine under 1.3, but under 2.0b9 the following error is
generated:

[2043]ERR: 24: Error in Perl code: Can't call method "update_mtime" on
an undefined value at
/www/vhosts/www.crazyguyonabike.com/htdocs/base.epl line 9.     

It looks like $req_rec is undefined here. Perhaps this is a bug with
Embperl::Object, or am I doing something wrong? This was the original
issue that made me post my previous message.

Thanks for your time,

-Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to