3 ms·
No, in fact, you can't. You can't use parameter lists in perl. You can't use variables without context. This statement is meaningless. I have no idea what you
by jrockway 17y ago
No, in fact, you can't. You can't use parameter lists in perl. You can't use variables without context.
This statement is meaningless. I have no idea what you're talking about.
Try this:
function( args => 'go here' )
And anyway, what exactly is the difference between your JavaScript (Lua? Python?) example and your Perl example?
ABC::Myclass->find_or_create({thing => $thing->itm, otherthing => $x->itm});
ABC.Myclass.find_or_create({'thing' : thing.itm, 'otherthing': x.itm})
Other than "Myclass" being a field of ABC in your example, I don't see any difference at all.
Your argument really makes no sense. I suggest you just say "I hate Perl" and stop trying to justify it.