in reply to Re^3: Prototype for constant items???
in thread Prototype for constant items???
I can't assure that I don't get erroneously the scalar of an array, without excluding constants!!!
Neither at compile-time nor at run-time.
Please try to give me a function that only accepts plain scalar values with "good old preconditions" and I'll be happy! ¹
BTW: I'm not limiting myself to prototypes, I'm just trying to widen my possibilities...
Cheers Rolf
(1) well maybe with some caller parsing it's somehow feasible...
UPDATE: I appended a practical use case with join to the startpost to make the problem less theoretical and easier understandable. Please try to give me a sub "newjoin" which croaks about this error!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Prototype for constant items???
by SuicideJunkie (Vicar) on Sep 25, 2009 at 16:34 UTC | |
by LanX (Saint) on Sep 26, 2009 at 00:48 UTC | |
by SuicideJunkie (Vicar) on Sep 28, 2009 at 13:53 UTC | |
|
Re^5: Prototype for constant items???
by Porculus (Hermit) on Sep 26, 2009 at 17:37 UTC | |
by LanX (Saint) on Sep 26, 2009 at 20:17 UTC |