[EMAIL PROTECTED] (Allison Randal) writes:
> In the design meetings early this month we added C for true
> pass-by-value.
Can someone please compile a list of all the "is foo" properties that
have been suggested/accepted as being pre-defined by the language?
I can't keep track of them all.
--
So
Luke wrote:
> If you want to modify a parameter in place, you declare with C.
> If you want to pass by-value, there might be a property for that, but
> I think this was recommended:
>
> sub foo($bar_) {
> my $bar = $bar_; # Copy, not bind
> # ... with $bar
> }
In th
> On Sun, Feb 23, 2003 at 11:12:18AM +1300, Martin D Kealey wrote:
> > I would like to argue in favour of "pass by value" to be the
> > default in the absence of some explicit prototype, because it
> > allows greater type-safety, and because the opposite default
> > interacts badly with out-of-orde
On Sun, Feb 23, 2003 at 11:12:18AM +1300, Martin D Kealey wrote:
> I would like to argue in favour of "pass by value" to be the default in the
> absence of some explicit prototype, because it allows greater type-safety,
> and because the opposite default interacts badly with out-of-order execution