Works here.
Regards
Henrik
m�n 2002-12-02 klockan 00.16 skrev Andrew Nelson:
> Hi,
>
> I'm having trouble writing a redirector for
> squid. I'm using the basic perl code in the
> squid FAQ:
>
> #!/usr/local/bin/perl
> $|=1;
> while (<>) {
> s@http://fromhost.com@http://tohost.org@;
> print;
> }
>
> I'm wondering why, when I use the $| (presumably to
> prevent buffering), can I NOT write to files using the
> standard open(FILE,">>logfile.txt"); method? I want
> to be able to log what my redirector does! How can I
> write to files?
>
> thanks,
> Andrew.
>
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE*
> http://join.msn.com/?page=features/junkmail
Received on Tue Dec 10 2002 - 09:58:41 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:02 MST