before reading the file.
HANDLE is your filehandle.

If that doesn't work you might want to supply the
text file and a sample script.


On 4/12/2018 12:04 PM, wrote:

I have a text file (created by  pdftotext) that I've imported into my script.

It contains ASCII characters 251 for crosses and 252 for ticks.  If I load the
file in gvim and do :as

it reports the characters as

<u> 251, Hex 00fb, Octal 373
<u> 252, hex 00fc, Octal 374

However, when I try to seacch for it using

if ($line=~/[\xfb|\xfc]/) {

or even just

if ($line=~/\xfb/) {

it always fails.  What am I doing wrong?


Reply via email to