David Scott wrote:
The following patch makes life a lot easier: in B::TerseSize: 631c631 < my $script = $q->script_name; --- > my $script = ( defined $q && $q ) ? $q->script_name : $r->uri;The problem is, the Apache 2 API doesn't use CGI query objects at all so you can't use the script name.
my $script = MP2 ? $r->uri : $q->script_name; is better I think. This will be in the very soon to be released B-Size 0.09and I'll update mp2 svn to depend on a minium version of 0.09 for B::TerseSize which is in the B-Size CPAN module.
Thanks John, Scott. -- ------------------------------------------------------------------------ Philip M. Gollucci (suppressed) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF I never had a dream come true 'Til the day that I found you. Even though I pretend that I've moved on You'll always be my baby. I never found the words to say You're the one I think about each day And I know no matter where life takes me to A part of me will always be... A part of me will always be with you.
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.