Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Would someone mind explaining to me the semantics of this? Thanks in advance.my $ftp = $pkg->SUPER::new(PeerAddr => $peer, PeerPort => $arg{Port} || 'ftp(21)', Proto => 'tcp', Timeout => defined $arg{Timeout} ? $arg{Timeout} : 120 ) or return undef; ${*$ftp}{'net_ftp_host'} = $host; # Remote hostname ${*$ftp}{'net_ftp_type'} = 'A'; # ASCII/binary/etc mode ${*$ftp}{'net_ftp_blksize'} = abs($arg{'BlockSize'} || 10240);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Please explain ${*$ftp}{'net_ftp_host'} = $host; # Remote hostname
by btrott (Parson) on Sep 13, 2000 at 23:02 UTC | |
by princepawn (Parson) on Sep 13, 2000 at 23:20 UTC |