Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^9: Begginer's question: If loops one after the other. Is that code correct?by predrag (Scribe) |
on Jan 12, 2017 at 15:05 UTC ( [id://1179452]=note: print w/replies, xml ) | Need Help?? |
choroba, maybe you don't have a sense how great your help is :) Hopefully I've put that question. When I started my work on this project of converting, the first idea was to try with Unicode and that way, I've got some results but I've felt the way was too primitive. Soon after, I've got the better idea of using hash, that resulted in the code I've sent. During the work, of course, I was looking at Unicode table on the web, but somehow, obviously, that was not the whole table, so I didn't notice that for example Cyrillic "A" has different unicode then Latin equivalent A. So, Your web link is a huge help Although I've made a wrong conclusion in the beginning, my intuition told me that it may cause a mess on the output. In fact it is one of main reasons why I've sent my question to perlmonks. I lack bigger and wider pucture and more structured knowledge, so comments from that point are far more important for me than to be given a code. In fact I feel, I have to learn how to build a good foundation for future learning and future work, after years and decades of being pretty common computer user or slightly above that. When I put your example one line command I receive "Use of uninitialized value $_ in print at -e line 1.", it is maybe of older Perl version? 5.10.1 or older bash shell, never mind, but when I make a script with that command, it works. In the beginning of my work I did similar tests, but didn't know about the Latin/Cyrillic difference I've wrote above. I understand now what you explained about your comment about PRE tag.
In Section
Seekers of Perl Wisdom
|
|