7;switch' - documented in the
> 'perlsyn' perldoc. There is no 'case' or 'switch' function, but you can
> emulate it with a block & exit routine, as documented.
>
> Jason
>
> ----- Original Message -
> From: "Sparkle Williams
--- Michael Fowler <[EMAIL PROTECTED]> wrote:
> 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
Check out Damian Conway's Switch module.
http://search.cpan.org/doc
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 = Ne
Sparkle Williams" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 9:43 AM
Subject: Perl-case statement, and module syntax error
> I'm having two problems
> 1) Is there an equivalent of the case function in Perl?
>
> 2)I'm also gettin
I'm having two problems
1) Is there an equivalent of the case function in Perl?
2)I'm also getting a syntax error for the following part of my program that
I'm attempting to run on my Unix system. I get a syntax error message for
'new($url, ', 'login($username, 'cwd($ftp_home), ', and 'get($fil