tothestars has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I am not a Perl programmer but I have a Perl issue that needs to be resolved and will greatly appreciate your help.
Here’s the case:
perl -le 'print "Version $] : ", -T "spk_pre_180208_180715_180419_bpo1 +2_p.bsp" ? "text" : "not text"' Linux: Version 5.010001 : not text Version 5.014002 : not text Version 5.016003 : not text Version 5.026001 : tex
Somewhere (between version 5.20.3 and 5.22.4) there is a Perl patch causing a change in -T's behavior. A file that was previously evaluated as Binary is now evaluated as text.
Any insight?
Thanks so much for your help!
2018-05-22 Athanasius added code and paragraph tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: -T changed behavior
by kcott (Archbishop) on May 22, 2018 at 07:15 UTC | |
by haukex (Archbishop) on May 22, 2018 at 13:16 UTC | |
|
Re: -T changed behavior
by LanX (Saint) on May 22, 2018 at 12:56 UTC | |
|
Re: -T changed behavior
by Marshall (Canon) on May 22, 2018 at 10:07 UTC | |
|
Re: -T changed behavior
by Anonymous Monk on May 22, 2018 at 08:02 UTC |