blueflashlight has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use strict; use Tie::Scalar; use vars qw($now); tie ($now, localtime()); print "$now\n"; sleep 5; print "$now\n";
Can't locate object method "TIESCALAR" via package "Mon Sep 24 21:29:5 +0 2001" at tienow.pl line 7.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Tying
by merlyn (Sage) on Sep 25, 2001 at 08:50 UTC | |
by blueflashlight (Pilgrim) on Sep 25, 2001 at 09:09 UTC | |
by davorg (Chancellor) on Sep 25, 2001 at 13:22 UTC | |
by blueflashlight (Pilgrim) on Sep 26, 2001 at 08:34 UTC | |
Re: Tying
by dragonchild (Archbishop) on Sep 25, 2001 at 15:44 UTC | |
by blueflashlight (Pilgrim) on Sep 26, 2001 at 08:43 UTC | |
by dragonchild (Archbishop) on Sep 26, 2001 at 17:16 UTC |