--- [EMAIL PROTECTED] wrote:
> Hello all.
> 
> I'm trying to return the "ls" method from Net::FTP
> to an array like so:
> @myarray = $FTP->ls() ;
> 
> foreach (@myarray) {
> print "$_\n";
> }
> 
> However, I'm getting in return the following :
> ARRAY(0x2046a1a0)


Try print "@{$_}\n";

=====
Anthony Ettinger
[EMAIL PROTECTED]
http://www.apwebdesign.com
Instant Messengers:
1) yahoo im: apwebdesign   2) aol im: apwebdesignxl
3) msn im: [EMAIL PROTECTED]   4) icq im: 659139

__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to