perl version for windows

2008-11-23 Thread David Ehresmann
If I want to install perl for the computer described below: Windows Vista Home Premium Service Pack 1 Intel Pentium Dual CPU E2200 2.2GHz 2GB memory 32-bit I would go to ActivePerl and download this: ActivePerl-5.10.0.1004-MSWin32-x86-287188 Is this the best path or choice to insta

env

2008-12-05 Thread David Ehresmann
What is the difference between: %ENV %ENV_VARS thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

function call

2008-12-30 Thread David Ehresmann
List, I have a factorial script that calls a sub fact that does the factorial and returns a value. But I get this error when I execute the script: Use of uninitialized value in numeric gt (>) at fact.pl line 22. Here is the script: #!/usr/bin/perl use warnings; use strict; fact(); my $num;

Re: function call

2008-12-30 Thread David Ehresmann
my $num = shift @_; my $res = 1; while ($num > 1) { $res *= $num; $num--; } return $res; } On Tue, Dec 30, 2008 at 7:20 AM, Mr. Shawn H. Corey wrote: > On Tue, 2008-12-30 at 07:10 -0600, David Ehresmann wrote: >>