in reply to localtime array slice problem
result: 3311#!/usr/bin/perl -w use strict; my @List=(localtime)[1,3]; print @List;
Ambiguous use of @{localtime} resolved to @localtime at ./tmp line 6. Global symbol "@localtime" requires explicit package name at ./tmp lin +e 6. Execution of ./tmp aborted due to compilation errors.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: localtime array slice problem
by InfiniteSilence (Curate) on Jan 12, 2001 at 00:32 UTC | |
by chipmunk (Parson) on Jan 12, 2001 at 01:48 UTC |