[Omaha.pm] FWD: FIXME, July 2001

Jay Hannah jay at jays.net
Sun Dec 3 10:03:43 PST 2006


On Nov 21, 2006, at 8:49 AM, Daniel Linder wrote:
>> 1.1  (jhopkins 30-Jul-01):     $/ = '||||'; # FIXME?
>
> So, what does the FIXME line do?
>
> So, If I read it right, this causes the next line to continue  
> reading from
> the file $readfh, and put all characters up to but not including four
> 'pipe' symbols, right?

Exactly. We have a vendor sending us gobs of ASCII goo and in some  
cases the delimiter in a constant ASCII stream is '||||'. Fun, huh? :)

> If I understand this, the kicker here is that the "\n" characters  
> are also
> placed into the $errmsg variable.

They never send us "\n" characters. It's a 1 line stream of ASCII goo  
they send for months and months on end.

Oh... On your hypothetical I'd have to write a little test program to  
see if you're right or not. :)  Want me to do that?

j




More information about the Omaha-pm mailing list