On 7/20/05, Konovalov, Vadim <[EMAIL PROTECTED]> wrote: > a problem is - my file contains characters /[\x80-\xFF]/, and all that > characters get replaced with the space.
> Is it possible with "slurp"? What you want should be something like "filename".slurp(:raw) if Perl 6 is going to follow Perl6::Slurp according to Damian's CPAN module. But it is not supported yet by Pugs, I think. Currently, "slurp" accepts an only parameter (a filename or a handle). By now, this seems to works: open("filename", :raw).slurp() Not so short, but at least it is there. Regards, Adriano.