Note : This 0..$#array would have been INefficient for big array back
before for(0..$N) was optimized with a lazy list.
When exactly did that happen?
Long enough ago that if you find a Perl on which
perl -le foreach (0..100_000_000) { print } | more
has a seg or heap fault
On 9/21/06, Alex Brelsfoard [EMAIL PROTECTED] wrote:
I know I've done this before, but I'm having a hard time finding my old
code, and am not using the right search terms on google...
All I am looking for is the quickest method to find the user who is calling
this script.
This is a script
On Thu, Sep 21, 2006 at 11:30:08AM -0400, Alex Brelsfoard wrote:
I know I've done this before, but I'm having a hard time finding my
old code, and am not using the right search terms on google... All I
am looking for is the quickest method to find the user who is calling
this script.
This is
From perldoc perlvar:
$REAL_USER_ID
$UID
$ The real uid of this process. (Mnemonic: it's the uid you came
from, if you're running setuid.) You can change both the real
uid and the effective uid at the same time by using
On Sep 21, 2006, at 10:32 AM, Kate Wood wrote:
On 9/21/06, Alex Brelsfoard [EMAIL PROTECTED] wrote:
I know I've done this before, but I'm having a hard time finding
my old
code, and am not using the right search terms on google...
All I am looking for is the quickest method to find the
On Thu, 2006-09-21 at 08:08 -0400, Bill Ricker wrote:
Note : This 0..$#array would have been INefficient for big array back
before for(0..$N) was optimized with a lazy list.
When exactly did that happen?
Long enough ago that if you find a Perl on which
perl -le foreach
$.. should be the iterator count in the parent loop, $... should be the
iterator count in the grandparent loop, ...
my @fruits = ('apple','banana','cantaloupe');
foreach my $fruit (@fruits) {
foreach my $minusone (0..1000) {
foreach my $plusone (2..1000) {
die inner loop count wrong