<?xml version="1.0" encoding="windows-1252"?>
<node id="997210" title="Re^2: Problem printing return value from a subroutine" created="2012-10-04 05:29:02" updated="2012-10-04 05:29:02">
<type id="11">
note</type>
<author id="955048">
zing</author>
<data>
<field name="doctext">
Ok so I changed the last lines of the code 
&lt;code&gt;
    my (@qw)=induced(@{ $subgraphs[$d-1] });
    print Dumper @qw;
}&lt;/code&gt;

But still incorrect output
&lt;code&gt;
component 2 = e d
$VAR1 = 'b';
$VAR2 = 'c';
$VAR3 = 'a';
component 1 = c a b
b c a
$VAR1 = 'b';
$VAR2 = 'c';
$VAR3 = 'a';
&lt;/code&gt;</field>
<field name="root_node">
997160</field>
<field name="parent_node">
997175</field>
</data>
</node>
