Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^12: Speeds vs functionality (fh)

by ikegami (Pope)
on Aug 01, 2014 at 11:46 UTC ( #1095888=note: print w/ replies, xml ) Need Help??


in reply to Re^11: Speeds vs functionality (fh)
in thread Speeds vs functionality

Though, I suspect that Perl provides a way for declaring a default encoding for all file handles,

There's use open, but it's lexically scoped.


Comment on Re^12: Speeds vs functionality (fh)
Download Code
Re^13: Speeds vs functionality (-C)
by tye (Cardinal) on Aug 01, 2014 at 17:47 UTC

    perlrun seems to indicate that -Ci makes your original nit technically incorrect. Though, the phrase "in the current file scope" (which is not present in my copy) calls into question this implication that seems to be clearly made more than once away from that phrase (and indicates the possibility of a rather bizarre effect for that command-line switch).

    I don't find evidence of support for globally imposing a default non-UTF-8 encoding on streams. I find that a surprising lack and have seen others express similar surprise more forcefully.

    - tye        

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1095888]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2014-12-25 17:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (161 votes), past polls