in reply to Re: modify variable on pass by value
in thread modify variable on pass by value
Perl works much better in a flow model, not a do-this-to-that model.merlyn, while I don't exactly consider myself a slouch as a programmer, I'm not sure what you mean by this. Are you saying it's more efficient to assign the value to something else as opposed to changing a variable in place? Or are you referring to a structured programming thing as opposed to an efficiency issue? Or rather, are you meaning something else entirely?
Inquiring minds want to know...
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just go the the link and check out our stats.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: (Ovid) RE(2): modify variable on pass by value
by merlyn (Sage) on Sep 11, 2000 at 20:36 UTC | |
by cwest (Friar) on Sep 11, 2000 at 20:45 UTC | |
by merlyn (Sage) on Sep 11, 2000 at 20:47 UTC | |
by chromatic (Archbishop) on Sep 11, 2000 at 21:13 UTC | |
by Ovid (Cardinal) on Sep 11, 2000 at 22:55 UTC | |
by merlyn (Sage) on Sep 12, 2000 at 21:12 UTC |