i created a file called 'data-alias' in /etc/apache2/conf.d with these
contents

root@mine:/etc/apache2/conf.d# cat data-alias
PerlModule Data::Visitor
PerlModule Data::Alias

<Perl>

           use Data::Alias;

           alias {
                   # aliasing instead of copying whenever possible
           };

           alias $x = $y;              # alias $x to $y
           alias @x = @y;              # alias @x to @y
           alias $x[0] = $y;           # similar for array and hash elements
           alias push @x, $y;          # push alias to $y onto @x
           $x = alias [ $y, $z ];      # construct array of aliases
#           alias my ($x, $y) = @_;     # named aliases to arguments
#           alias { ($x, $y) = ($y, $x) };              # swap $x and $y
#           alias { my @t = @x; @x = @y; @y = @t };     # swap @x and @y

</Perl>
<Perl>
           use Data::Alias qw/ alias copy /;

           alias { copy $x = $y };     # force copying inside alias-BLOCK
</Perl>
<Perl>
           use Data::Alias qw/ deref /;

           my @refs = (\$x, \@y, \%z);


</Perl>
root@mine:/etc/apache2/conf.d#


if i try to start up apache i get this...

root@mine:/etc/apache2/conf.d# service apache2 restart
Syntax error on line 5 of /etc/apache2/conf.d/data-alias:
Deep recursion on subroutine "Apache2::PerlSections::dump_entry" at
/usr/lib/perl5/Apache2/PerlSections.pm line 186.\n
Action 'configtest' failed.
The Apache error log may have more information.
 failed!
root@mine:/etc/apache2/conf.d#


though i think its not the issue, as i think im just causing circular
aliases


On 19/05/13 12:23, Ernesto Hernández-Novich wrote:
> On Thu, 2013-05-16 at 08:52 +0000, Dean Hamstead wrote:
>> Package: webgui
>> Version: 7.10.28-1
>> Followup-For: Bug #681564
>>
>> New debian install, same problem still...
>>
>> I have this wrapped up in an LXC which i am happy to grant you access to for 
>> any probing people may want to try...
> 
> Thank you for your report.
> 
> Turns out the problem is Data::Alias (*not* used by WebGUI at all) when
> pulled in by Data::Visitor (used indirectly by WebGUI via Net::Twitter).
> 
> I haven't had the time to create a mod_perl runnable snippet using
> Data::Visitor that would crash Apache. If you can come up with one, then
> we could reassing this bug to the proper library.
> 


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to