in reply to Please explain ${*$ftp}{'net_ftp_host'} = $host; # Remote hostname

A Net::FTP object is a blessed typeglob. So that $ftp object is a blessed glob; when you see something like this:
${*$ftp}{'net_ftp_host'}
that dereferences the typeglob, then accesses the hash portion of the glob.

There's a (better :) discussion of this in Advanced Perl Programming.

  • Comment on Re: Please explain ${*$ftp}{'net_ftp_host'} = $host; # Remote hostname
  • Download Code

Replies are listed 'Best First'.
RE: Re: Please explain ${*$ftp}{'net_ftp_host'} = $host; # Remote hostname
by princepawn (Parson) on Sep 13, 2000 at 23:20 UTC
    Thanks. By the way, I am the "Anonymous Monk" who posted this question. I did not realize I was using a new browser and had not previously logged in.