Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wruza
on July 10, 2024
|
parent
|
context
|
favorite
| on:
Ask HN: Should I learn Awk or Perl? Or is that a b...
You can also break from a loop from a subroutine.
sub test() {last unless $_} for (1, 2, 0, 3) { print "$_\n"; test; } // 1 2 0
I miss it :(
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: