[Chicago-talk] Reading from a socket

Jay Strauss me at heyjay.com
Thu Feb 19 11:09:02 CST 2004


Yeah I already got that

Thanks
|Jay
----- Original Message ----- 
From: "Paul Baker" <pbaker at where2getit.com>
To: "Chicago.pm chatter" <chicago-talk at mail.pm.org>
Sent: Thursday, February 19, 2004 10:44 AM
Subject: Re: [Chicago-talk] Reading from a socket


> 
> On Feb 18, 2004, at 10:32 PM, Jay Strauss wrote:
> 
> >> Could you set the input record separater to null? Similar to doing
> >> slurp mode where you set it to undef?
> > ...
> >> { local $/ = char(0); $result = <$s>; }
> >>
> >>>     return $result;
> >>> }
> >
> > Thanks Paul,
> >
> > That's what I was wondering (albeit inarticulately).  I'll try it 
> > tomorrow,
> > and report back.
> 
> Oh and ooops, it should be chr(0) not char(0). My bad.
> 
> -- 
> Paul Baker
> 
> "They that can give up essential liberty to obtain a little temporary 
> safety deserve neither liberty nor safety."
>            -- Benjamin Franklin, 1759
> 
> GPG Key: http://homepage.mac.com/pauljbaker/public.asc
> 
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at mail.pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk
> 
> 




More information about the Chicago-talk mailing list