Re: Swap and pass-by-reference

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...
   @(a,b) = {b,a} 

(N.B: I'm using here a possible syntax @( ... ) to denote a list of variables.)

Looks like perl.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu