Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

yup. after that you can use the global var DATA to access the data injected after the __END__


When I was first learning Ruby knowing Perl rather well, it was discovering that it supported DATA/__END__ that made me feel like I was at home ...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: