http://www.perlmonks.org?node_id=592859


in reply to Stuck on packages

What were you hoping would be printed? Data::Dump::Streamer can be used to show the contents of $car using Dump $car; in place of the print, (see below), but that's probably not what you are after.

$Family1 = bless( { goods => 'I carry 50lbs', passengers => 'I carry 5 passengers', Private => bless( { private => 'I am private', Vehicle => bless( { doors => 'I have doors', engine => 'I have an engine' +, wheels => 'I have wheels' }, 'Vehicle' ) }, 'Private' ) }, 'Family' );

DWIM is Perl's answer to Gödel