get_data_section($name) should not die if there is no __DATA__ section. #2

Merged
merged 1 commit into from Mar 29, 2013

Projects

None yet

2 participants

@tokuhirom

Current version dies with folllowing message.

Can't use an undefined value as a HASH reference at /Users/tokuhirom/.plenv/versions/5.16.3/lib/perl5/site_perl/5.16.3/Data/Section/Simple.pm line 19

It's not user friendly.

@miyagawa miyagawa merged commit adc26fc into miyagawa:master Mar 29, 2013
@tokuhirom tokuhirom deleted the tokuhirom:no-DATA-fix branch Mar 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment