in reply to perl 5 interpreter crashes

I don't know why it crashes on your platform but Perl should give this error: Can't locate object method "parser" via package "#!perl" (perhaps you forgot to load "#!perl"?) at script.pl line 10, <INFILE> line 0.000000.

Change line 10 to: parser($_);

Replies are listed 'Best First'.
Re^2: perl 5 interpreter crashes
by pmclot (Novice) on Aug 26, 2018 at 20:47 UTC
    Thanks -- maybe my development environment is screwed up... time to install Linux I guess :)
      I certainly wouln't refrain you from using Linux, but your program runs correctly under Windows provided you look at the error message ("Can't locate object method "parser" via package...") and make the corrections accordingly.