On Thu, 2004-02-12 at 21:21, Gyepi SAM wrote: > I just installed PerlIO::gzip so I could test the example and it works for me, > so it must be you or your system ;) Was your perl built with perlio? > > perl -V|grep io > > should produce at this something like this: > > useperlio=define d_sfio=undef
I indeed got:
104: 8:52pm % perl -V|grep io
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
...
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
I didn't make a script, I just pasted your post into a command line.
After the first try with no results I also tried it slurping a short
file. Besides simply printing it I tried both redirecting to a file and
opening an output file. The files created both ways were 0 length. I
have no idea why - but I'll try it again on a different machine later.
Thanks again!
> btw, if you save the example to a file and pipe the script
> output to 'gunzip -c', you get back the original string,
> which serves as a nice test of the whole process.
>
> -Gyepi
> _______________________________________________
> Boston-pm mailing list
> [EMAIL PROTECTED]
> http://mail.pm.org/mailman/listinfo/boston-pm
--
Sean Quinlan <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm

