in reply to Re^4: P2P Golf: MoleSter
in thread P2P Golf: MoleSter
>> You cannot use open F,pop; because there are 3 args coming in, not 2.
Again, in my OP it was implicit that one should change (if possible/convenient) the way subs are actually called... it was meant to be a very generic cmt.
The function in question is
On first glance, it looks like you can replace $_1 with pop for a 2-character savings. However, look at where g() is called - &$3($2,$4,$'). There are three scalars in @_, not two. The fact that g() only uses two is irrelevant.