Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^6: Conversion between code page and unicode in Perl

by chessgui (Scribe)
on Feb 10, 2012 at 11:45 UTC ( [id://952998]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Conversion between code page and unicode in Perl
in thread Conversion between code page and unicode in Perl

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^6: Conversion between code page and unicode in Perl

Replies are listed 'Best First'.
Re^7: Conversion between code page and unicode in Perl
by Corion (Patriarch) on Feb 10, 2012 at 13:16 UTC
    The difference is between giving you a fish and teaching you how to fish. Hopefully, by reading the linked documentation, you remember that the documentation exists the next time you have a similar problem. The problem is not peripheral, as encoding problems occur anywhere you receive or output data. It behooves you well to learn about it, as it is an universal problem not restricted to Perl.
Re^7: Conversion between code page and unicode in Perl
by Anonymous Monk on Feb 10, 2012 at 15:13 UTC

    If there are twenty characters that answer my question why not just post those twenty characters insted of a link (which in itself is more than twenty characters)?

    Several general reasons born experience

    Its faster for me, only takes about 3min with current perlmonks speed to copy/paste my FAQ links, instead of some 7min to load tutorial and copy/paste code, or 15min or longer to post tested/runnable code , or detailed explanation. And this is just for stuff I remember off the top of my head, that I've done often, that I don't have to search farther than my FAQ-answers file.

    It teaches you where to find tutorials. Considerable time was spent writing the tutorial, it contains important basic information, and its always there, even when no perlmonks are logged in.

    Volunteers like me like to see you Try It To See -- it is the only way to remember these things -- you'd be surprised how often the answer to an OPs question was a link to the last time the OP asked that question

    It is a litmus test :) In my experience, if I post code it is very often blindly copy/pasted -- OP doesn't even notice the example variables I used aren't in his program. If I post a link to a direct answer, and the original poster doesn't click it and read the answer, I know not to waste my composing detailed replies for this person. They seek a guru/master style of teaching, and that doesn't work on web-forums, it requires explicit agreement, and its simply not expected on web-forums. Spoon-feeding is a perversion of guru/master style -- its work. I like to help people, but it is not satisfying if I feel like I'm doing all the work. I want money for work :)

    Look: I don't want to become an expert in the field of decoding. I just want to put to work a routine the essence of which is not decoding. If I spend days solving peripheral problems I get nowhere.

    :) Well :) technically, ikegami "solved it" not you :) But you don't become an expert by reading a 5min tutorial :)

    I think its a problem that you consider this basic knowledge "peripheral" problems -- the more you skip, the more you risk, the longer it takes :) encoding/decoding is right up there with knowing how paths and filehandles work. Communicating with anything outside your program involves escape/unescape, encode/decode, freeze/thaw, explode/unexplode, pack/unpack, serialize/deserialize.

    Consider your followup Re^2: Array manipulation how to. Yes, perlmonks is a good place to get those kind of answer, but it should be just as fast to find without live nude perlmonks behind a keyboard :) Tutorials: Arrays: A Tutorial/Reference, http://learn.perl.org/books/beginning-perl/ Ch 3, Modern Perl page 38, Learn Perl in about 2 hours 30 minutes

    Hi

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-19 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found