Re: Simple loop question




#!/usr/bin/perl
use strict;
use warnings;

our ($upper, $lower, $target) = ( 20, 1, 11 );


D'oh! I really _meant_ to make those lexical instead of package
variables - another good habit to get in early.

my ($upper, $lower, $target) = (20,1,11);

Will do (promise)...

Danny
.



Relevant Pages