Graham Barr wrote:
> On Sat, Nov 16, 2002 at 11:12:15PM -0800, Dave Storrs wrote:
> > Or how about run-time evaluated versions?
> >
> > # Set a timer to run for either a day or an hour, depending
> > $timer = 60*60*($use_days ? 24 : 1):10
>
> Then it is no longer a literal is it.
True. But this might:
$foo = [60*60*($use_days ? 24 : 1):10];
Larry said that could be the equivalent of:
$foo = scalar(list(60*60*($use_days ? 24 : 1):10));
I've tried asking if lists are literals or not... but I've been Warnock'd.
> I also think -documentation is the wrong place to
> discuss this.
Yes. There seems to be a bit language design going on under the subtext of
documentation. We are here to ask questions that provoke Larry to
disambiguate. Not come up with our own answers.
If I can borrow a bit of time from my non-existant pool, I'll try to
summarize the syntax issues... But aren't the 1*10:9, -2:1 or 2:-1, 0:0,
1:0, 37:aA, etc. issues exactly the type of questions we're supposed to be
steering back to perl6-language?
--
Garrett Goebel
IS Development Specialist
ScriptPro Direct: 913.403.5261
5828 Reeds Road Main: 913.384.1008
Mission, KS 66202 Fax: 913.384.2180
www.scriptpro.com [EMAIL PROTECTED]