Re: Multi-assign

new topic     » goto parent     » topic index » view thread      » older message » newer message
mattlewis said...
petelomax said...

Regarding $ on the RHS, to indicate omitted parameters, you cannot do that as it already has valid meaning:

? s[f($)] 

I wouldn't call that valid. I'd say you've found a new bug in the parser.

Matt

I used such trick in some programs:

s[rand($)]
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu