I can post a 5000-line script with 'use strict' or a 200-line script without it
Are you seriously saying that you think it would require you to add 4800 lines -- +2500% -- to make your code strict and warnings compliant?
If so, wow. Where on earth did you get such a grossly mistaken impression?
Once I corrected s/$y/$zlib/, I ran perl -C on your code and got:
C:\test>perl -c junk1.pl Global symbol "$EINTR" requires explicit package name at junk1.pl line + 133. Global symbol "$EINTR" requires explicit package name at junk1.pl line + 134. Global symbol "$EINTR" requires explicit package name at junk1.pl line + 177. Global symbol "$EINTR" requires explicit package name at junk1.pl line + 178. junk1.pl had compilation errors.
So then I added our $EINTR; at the top and got:
C:\test>perl -c junk1.pl junk1.pl syntax OK
And if your response to corion is correct and making the first change (which strict & warnings would have found for you), and your code worked, then is typing one extra line to make your code S&M compliant too much work to save you "months" of frustration?
In reply to Re^5: Can't decompress zlib compression stream with Compress:Zlib
by BrowserUk
in thread Can't decompress zlib compression stream with Compress:Zlib
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |