[Israel.pm] The syntax role of the colon (':')

Meir Guttman meir at guttman.co.il
Sat Sep 15 09:43:20 PDT 2012


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

 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.perl.org.il/pipermail/perl/attachments/20120915/6289f522/attachment.htm 


More information about the Perl mailing list