Hacker News new | ask | show | jobs
by csirac2 4045 days ago
It's been a while since I did much perl, but FWIW I seem to recall doing (undef, my $foo) = do_stuff(). Perhaps modern perls have tightened up allowing undef as the target of an assignment.
1 comments

Ah, I don't really use $_ for discarding variables, precisely because it is a magic variable.