Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^4: Beginning Problems

by Jenda (Abbot)
on Jan 25, 2013 at 23:28 UTC ( #1015427=note: print w/replies, xml ) Need Help??

in reply to Re^3: Beginning Problems
in thread Beginning Problems

Beg your pardon? Nobody would suggest using MS Word or anything similar (though we've had a post by someone who used something like that and saved the script in RTF format). I just tested this with Perl 5.8.9 (rather dated, don't you think) and it doesn't care whether the script is 8bit, utf8 with or without BOM, utf16LE or utf16BE. All work fine.

Enoch was right!
Enjoy the last years of Rome.

Replies are listed 'Best First'.
Re^5: Beginning Problems
by choroba (Bishop) on Jan 25, 2013 at 23:34 UTC
    we've had a post by someone who used something like that and saved the script in RTF format
    Yes. That was the OP.
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Re^5: Beginning Problems
by Anonymous Monk on Jan 26, 2013 at 09:56 UTC

    Very well, I did not check whether Perl had trouble with any of those issues, but a lot of other languages do. I've seen people have such problems caused by text editors that are by no means full-fledged word processors (you wouldn't consider or Wordpad as one, would you), but instead bordering on programmer's editors (Notepad++ or similar). I've helped debug a bug caused by the editor saving a BOM by default [1], and seen problems caused by each one of those things I mentioned.

    (But when I introduce them to vim, they don't have any of those bugs. They don't exactly get much code written either, for some reason...)

    [1] may have been php and its header() function

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015427]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2018-06-24 13:56 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.