On Tue, Jul 10, 2001 at 09:43:26AM -0400, Sparkle Williams wrote:
> I'm having two problems
> 1) Is there an equivalent of the case function in Perl?

perldoc -q switch, or
http://www.perldoc.com/perl5.6/pod/perlfaq7.html#How%20do%20I%20create%20a%20switch%20or%20case%20statement%3f

 
> $ftp = Net::FTP->new($url, Debug=>0);
> 
>         $ftp->login($username, $password);
> 
>         echo $ftp->cwd($ftp_home), "\n";

echo is not a valid Perl operator.  You probably want print.


>         $ftp->get($filename);
> 
>         $ftp->quit;


Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

Reply via email to