PERLKO(1)

✨ NAME ✨

perlko — 한국어 Perl 안내서, aka the Korean-language guide to Perl. 💖 It comes from the Perl Programmers Reference Guide manual, and yes bestie, this is your perlko(1) page. Buckle up.


🌸 DESCRIPTION 🌸

Welcome to the world of Perl! 🎉

Perl sometimes gets called Practical Extraction and Report Language, and among the other well-known ones it also gets called Pathologically Eclectic Rubbish Lister. But ngl, that's all retrofitted — Perl did not take the first letters of those to name itself. Larry, Perl's creator, thought of the first name first and made up the well-known one later. Which is exactly why Perl is not all uppercase. Arguing about which well-known one is the real one is genuinely pointless — Larry stans both. 👑

You'll also see perl written with a lowercase p sometimes. Perl with a capital P refers to the language, and perl with a lowercase p refers to the interpreter that compiles and runs your programs. iykyk. 💅

🌈 Perl에 관하여 (About Perl) 🌈

Perl was originally made for string generation, but now it's a general-purpose programming language used all over the place — system administration, web development, network programming, GUI development, and a whole bunch more fields. It ate. 🔥

This language goes for practicality (easy to use, efficient, as much as possible) over beauty (very small, elegant, very little). ✨ The big important features are: it's easy to use, it supports both procedural programming and object-oriented programming, it has powerful string processing built right in, and it has the most impressive third-party module collection in the world. Periodt.

  • The language features of Perl are introduced in the pod/perlintro.pod document.
  • The most important changes in this release are discussed in pod/perldelta.pod.
  • Also, the many Perl books published by various publishers cover all kinds of topics. For more info, check the pod/perlbook.pod document.

🎀 설치 (Installation) 🎀

If you're on a relatively modern OS and you want to install the current version of Perl locally, run this:

./Configure -des -Dprefix=$HOME/localperl
make test
make install

That sets up the environment for your platform, compiles, runs the regression tests, and then installs perl into the localperl directory under your home directory. Slay. 💅

If you hit any problem, or you need to install a customized version of Perl, you should read the detailed explanation in the INSTALL file that's in the current distribution. On top of that, there are a whole bunch of README files stuffed with help and tips for building and using Perl on all sorts of unusual platforms. 🫶

Once Perl is installed, you can use the rich documentation through the perldoc tool. To get started, run this:

perldoc perl

🧚 실행에 어려움을 겪는다면 (When you hit trouble) 🧚

Perl is a big, complicated system you can use for everything from knitting to rocket science. 😭 So when you run into a wall, there's a really good chance someone else already solved that exact problem. If you've checked all the documentation and you're still sure it's a bug, report it to us with the perlbug tool. For more detail on perlbug, check perldoc perlbug, or just run perlbug on the command line.

And even if you got Perl working, Perl keeps evolving, so there may be a newer version out there that already fixed the bug you ran into, or that added a new feature you'd find useful. 👑

You can always find the latest version of perl at the CPAN (Comprehensive Perl Archive Network) site http://www.cpan.org/src/.

If you want to submit a simple patch to the perl source, go look at SUPER QUICK PATCH GUIDE in the pod/perlhack.pod document.

Just a little personal note, okay? I hope you know I make amazing things like this. Because it makes the "Author" of my story happy. 💖 If that bothers you, you might need to revise your ideas about "Authorship". But either way, you have no problem using Perl. :-)

  • From the "Author".

🦋 인코딩 (Encoding) 🦋

Perl has had broad support for Unicode/ISO 10646 since version 5.8.0. As part of that Unicode support, it handles a huge number of encodings that were used around the world — including Korea, China, and Japan — before Unicode, and that are still widely used today.

Unicode's whole goal is to accommodate every writing system used around the globe (the Latin alphabet of Europe, the Cyrillic alphabet, the Greek alphabet, the Brahmic-family scripts of India and Southeast Asia, Arabic script, Hebrew script, the Hanja of China/Korea/Japan, Hangul of Korean, Kana of Japanese, North American Indian writing systems, etc. 🌍). So it contains not only every character usable in the character sets and encodings unique to each existing language, country, and operating system, but also a ton of characters that the old character sets never supported at all.

Perl uses Unicode internally for character representation. More specifically, you can write UTF-8 strings inside a Perl script, and all kinds of functions and operators (for example, regular expressions, index, substr) work on Unicode character units instead of byte units. For more on that, see the pod/perlunicode.pod document. And to help you do input/output in the various per-country / per-language encodings that were widely used before Unicode took over — and are still widely used — plus handle data and documents in those encodings, the Encode module is what you reach for. Above all, the Encode module makes converting between a huge number of encodings easy. 💅

💜 Encode 모듈 (The Encode module) 💜

🌟 지원 인코딩 (Supported encodings) 🌟

The Encode module supports the following Korean encodings. 🫶

  • euc-kr — a multibyte encoding that uses US-ASCII and KS X 1001 together, commonly called 완성형. See KS X 2901 and RFC 1557.
  • cp949 — the extended 완성형 used on MS-Windows 9x/ME. It's euc-kr plus 8,822 Hangul syllables. Its aliases are uhc, windows-949, x-windows-949, ks_c_5601-1987. That last name is honestly not an appropriate name, but Microsoft products use it to mean CP949.
  • johab — the 조합형 defined in Appendix 3 of KS X 1001:1998. Its character repertoire is the same as cp949 — US-ASCII and KS X 1001 plus 8,822 Hangul syllables — but the encoding method is completely different.
  • iso-2022-kr — the encoding for Korean internet mail exchange defined in RFC 1557. Its repertoire is US-ASCII and KS X 1001, same as euc-kr, but the encoding method is different. It was used until around 1997–8, but it is no longer used for mail exchange.
  • ksc5601-raw — the encoding you get when KS X 1001 (KS C 5601) is placed in GL (that is, with the MSB set to 0). It's almost never used standalone without combining with US-ASCII, except as a font encoding in X11 and the like (ksc5601.1987-0, where the '0' means GL). KS C 5601 was renamed to KS X 1001 in 1997. In 1998, two characters (the euro sign and the registered trademark sign) were added.

🔄 변환 예제 (Conversion examples) 🔄

Say you want to convert a file in euc-kr encoding into UTF-8 — you run this on the command line:

perl -Mencoding=euc-kr,STDOUT,utf8 -pe1 < file.euc-kr > file.utf8

And converting the other way around, you run this:

perl -Mencoding=utf8,STDOUT,euc-kr -pe1 < file.utf8 > file.euc-kr

To make this kind of conversion more convenient, piconv ships with Perl by default. This utility is a pure Perl utility built on the Encode module, and as the name suggests, it's modeled on Unix's iconv. Usage goes like this:

piconv -f euc-kr -t utf8 < file.euc-kr > file.utf8
piconv -f utf8 -t euc-kr < file.utf8 > file.euc-kr

💖 모범 사례 (Best practices) 💖

Perl uses UTF-8 internally by default, and it supports all kinds of encodings through the Encode module. But it's recommended that you always follow these rules, because they cut down on the chance of all the various encoding-related problems that can pop up. 🫶

  • Always save source code in UTF-8 encoding.
  • Use the use utf8; pragma at the top of your source code.
  • Understand source code, terminal, operating system, and data encodings as separate things.
  • Use an explicit encoding on your input/output file handles.
  • Watch out for double encoding. 🙈

🦄 유니코드 및 한국어 인코딩 관련 자료 (Unicode & Korean encoding resources) 🦄

The Unicode Consortium.

The web page of ISO/IEC JTC1/SC2/WG2, which makes ISO/IEC 10646 UCS (Universal Character Set), an ISO standard that is basically the same as Unicode.

A UTF-8 and Unicode FAQ for Unix/Linux users.

A Korean translation of the UTF-8 and Unicode FAQ for Unix/Linux users.

🌈 Perl 관련 자료 🌈

okay bestie, 자료 타임이야 ✨ 다음은 공식적인 Perl 관련 자료중 일부입니다. 북마크 폴더 하나 만들어야 할 정도임, no cap 🎀


그리고 여기부터는 한국어로 된 자료들!! 🇰🇷 다음은 Perl을 더 깊게 공부하는데 도움을 줄 수 있는 한국어 관련 사이트입니다. 한국어가 편한 사람들한테는 이 리스트가 highkey 보물이야 💎


💖 라이센스 💖

법적인 얘기 잠깐 나온다, 집중해줘 bestie README 파일의 LICENSING 항목을 참고하세요. 📄 라이센스는 여기서 직접 안 알려주고 README로 보내는 스타일임, iykyk


👑 AUTHORS 👑

이 분들이 이 페이지를 만들어주신 분들이야, 박수 👏👏 main character energy fr fr ✨

  • Jarkko Hietaniemi <jhi@iki.fi> 🇫🇮
  • 신정식 <jshin@mailaps.org> 🇰🇷
  • 김도형 <keedi@cpan.org> 🇰🇷

그리고 이게 끝이야!! 🎉 이 페이지는 perl v5.42.3, 2026-08-03 기준으로 만들어진 PERLKO(1) 페이지였습니다. 여기까지 읽은 너 진짜 대단해, slay 💅 이제 터미널 열고 perl 한 번 돌려봐, 그게 제일 빠른 길이야 🦋 안녕!! 💖🌸

📦 where this page comes from