I believe that's the expected output - and therefore I would suggest that this bug has already been fixed. The sample program crashes on 圆4 Strawberry Perl 5.26.0, but on 圆4 Strawberry Perl 5.28.0 it produces output of:Ĭan't locate object method "parser" via package "#!perl" (perhaps you forgot to James E Keenan Sun, 21:31:09 via RT" wrote: I confess that I don't understand the point of such a program - but I concede that that doesn't explain why it crashes on Windows (which I don't have available). You open a (global) filehandle to read from a file - that file being the program itself.įor each line read you call a subroutine, parser(), which takes the line as input but then does nothing with it, since all the subroutine does is to print "Hello, world". Let me see if I correctly understand your sample program (re-attached with a. Theįile that reproduces the bug is attached as "small". It runs fine on 32-bit Windows and 64-bit Linux. I checked on perlMonks and it turns out this bug is in Strawberry PerlĦ4-bit as well. I am running ActiveState Perl (v5.26.1) on a 64-bit Windows 7 installation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |