On 4/9/07, Jean-Rene David <[EMAIL PROTECTED]> wrote:
* Chas Owens [2007.04.09 11:00]:
> > for (my $i = 0; $i < @banks; $i++)
>
> If you must loop this way at least do it like this:
>
> for my $i (0 .. $#banks) {}
>
> But most likely you don't need to loop that way and it is better to
> loo
* Chas Owens [2007.04.09 11:00]:
> > for (my $i = 0; $i < @banks; $i++)
>
> If you must loop this way at least do it like this:
>
> for my $i (0 .. $#banks) {}
>
> But most likely you don't need to loop that way and it is better to
> loop this way:
>
> for my $bank (@banks) {}
I've been
Hello,
2007/4/9, Rodrigo Tavares <[EMAIL PROTECTED]>:
Hello,
I put in my code:
if i put in code : my @ARGV = ('a');
Come the message:
You shouldn't use 'my' to declare the @ARGV since @ARGV is a special package
variable in Perl.Instead you can access this array directly,don't need the
de
On 4/9/07, Rodrigo Tavares <[EMAIL PROTECTED]> wrote:
Hello,
I put in my code:
use strict;
use warnings;
So I declared many variables. By example counters and
arrays. Using my.
My script start the postgres.
./postgresql.pl start|stop|reload|status
I'm using this below structure. When I run t