Limbic~Region has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use strict; my @msgtime = (1029435628); my $i; for ( $i = 0; $i <= 2; $i++ ) { foreach my $timealert (@msgtime) { $timealert = ((time - $timealert) / 60); print "$timealert\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Why is my array getting changed?
by jmcnamara (Monsignor) on Aug 26, 2002 at 14:42 UTC | |
by Rhose (Priest) on Aug 26, 2002 at 14:49 UTC | |
|
Re: Why is my array getting changed?
by Zaxo (Archbishop) on Aug 26, 2002 at 14:39 UTC |