>>>>> "CK1[" == CHAN, KENNETH 1 [AG/7721] <kenneth.1.c...@monsanto.com> writes:
CK1[> Hi YH, CK1[> Thanks a lot for your reply. I just tried it but it outputs: CK1[> ******************************* CK1[> $VAR1 = 'ARRAY(0x1883454) CK1[> '; CK1[> ******************************* CK1[> which is still the similar problem. Any more idea? Thanks a lot. CK1[> To be exact, I used this code: CK1[> ******************************* CK1[> #!/usr/bin/perl CK1[> use Class::Inspector; CK1[> use Bio::Graphics; CK1[> use Data::Dumper; CK1[> my @methods = Class::Inspector->methods( 'Bio::Graphics', 'full', 'public'); CK1[> foreach (@methods) { CK1[> print Dumper $_ . "\n"; first off, learn to bottom post and edit the quoted emails. i deleted tons of stuff below this. your problem is that you appended a newline to the reference thereby stringifying it. dumper printed that string as you asked. when you use dumper you only pass it the reference you want and nothing else. you generally won't need a trailing newline anyhow. if you want to print stuff with the dumped output, put it before dumper: print "Method: ", Dumper $_ ; uri -- Uri Guttman ------ u...@stemsystems.com -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/