These are perlio layers. man PerlIO has the story. You can use this to encode/decode charsets on the fly; normalize newlines; compress/decompress and so on.
On Sat, Sep 15, 2012 at 7:43 PM, Meir Guttman <[email protected]> wrote: > Hey folks!**** > > Every once in a while I encounter the colon (‘:’) as part of the Perl > syntax.**** > > Examples are «*binmode STDOUT, ":utf8";*» and «*open my $ini_fh, > "<:encoding(utf8)", > $node_ini_fn;* ».**** > > (Well, except the double colon as a directory-tree separator replacement.) > **** > > Can anybody elucidate?**** > > ** ** > > Shana Tova and Gmar-Khatima Tova,**** > > Meir**** > > > **** > > _______________________________________________ > Perl mailing list > [email protected] > http://mail.perl.org.il/mailman/listinfo/perl > -- Gaal Yahas <[email protected]> http://gaal.livejournal.com/
_______________________________________________ Perl mailing list [email protected] http://mail.perl.org.il/mailman/listinfo/perl
