in reply to Re: Problem printing return value from a subroutine
in thread Problem printing return value from a subroutine
Ok so I changed the last lines of the code
But still incorrect outputmy (@qw)=induced(@{ $subgraphs[$d-1] }); print Dumper @qw; }
component 2 = e d $VAR1 = 'b'; $VAR2 = 'c'; $VAR3 = 'a'; component 1 = c a b b c a $VAR1 = 'b'; $VAR2 = 'c'; $VAR3 = 'a';
In Section
Seekers of Perl Wisdom