Re: Upgrading to Activestate's latest build
by Ember Normand other posts by this author
Aug 29 2001 10:43PM messages near this date
view in the new Beta List Site
Output buffering complications with a a sleep 30; command
|
complex structures in $Session
We upgraded Active State's Perl and PerlEx at the same time. A word of
caution when upgrading--if you are using perl's format you might be in for
some trouble. We tried to upgrade twice now and we ran into serious
problems because the format would somehow cache the information between
different uses of the the script. So, if we were running the code below
with the $name = "Ember", then the next time we entered the script and set
the $name="Normand", the name printed would be "Ember" again.
We have reported the issue to ActiveState and given them the code that was
causing problems, but we have not heard back from them. Once we backed the
upgrades out, our site was fine.
Good luck.
Here's an example of the format function:
format HEADERS =
$name
+-----------------------+
@<<<<<<<
$datestring
@<<<<<<<<<<<
$timestring
.
_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Web@[...].com
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
|