LWP:RobotUA site retrieval


I have a question on LWP:RobotUA, I made it to work in my ActivePerl5.x
script but its only able to get the default index.htm(l) page how I
get the entire site content, in a tree format?
Is there something already there in Perl or I have to tinker with this
code? Also I like to get the content instead of something like *.asp

my $ua = LWP::RobotUA->new('my-robot/0.1', 'info@xxxxxxxxxxxxxxx');

Appreciate any help.