2025-02-10T05:29:29

This commit is contained in:
2025-02-10 05:29:29 +09:00
parent e00dd1bfbf
commit 6f1a75f466
45 changed files with 69 additions and 145 deletions

3
.idea/.gitignore generated vendored
View File

@@ -1,3 +0,0 @@
# 디폴트 무시된 파일
/shelf/
/workspace.xml

View File

@@ -1,6 +0,0 @@
<component name="CopyrightManager">
<copyright>
<option name="notice" value="Copyright (c) &amp;#36;originalComment.match(&quot;Copyright \(c\) (\d+)&quot;, 1, &quot;-&quot;, &quot;&amp;#36;today.year&quot;)&amp;#36;today.year. Elex. All Rights Reesrved.&#10;https://www.elex-project.com/" />
<option name="myName" value="Elex Project" />
</copyright>
</component>

View File

@@ -1,7 +0,0 @@
<component name="CopyrightManager">
<settings>
<module2copyright>
<element module="Project Files" copyright="Elex Project" />
</module2copyright>
</settings>
</component>

View File

@@ -15,3 +15,4 @@ sudo cpanm JSON
* pass a reference to a hash
* returns a json string
---

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE categories
SYSTEM "https://resources.jetbrains.com/writerside/1.0/categories.dtd">
<categories>
<category id="wrs" name="Writerside documentation" order="1"/>
</categories>

View File

@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2024. Elex. All Rights Reesrved.
~ https://www.elex-project.com/
-->
<buildprofiles xsi:noNamespaceSchemaLocation="https://resources.jetbrains.com/writerside/1.0/build-profiles.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<variables></variables>
<build-profile instance="p">
<variables>
<noindex-content>true</noindex-content>
</variables>
</build-profile>
</buildprofiles>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 341 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 KiB

View File

@@ -1,43 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2024. Elex. All Rights Reesrved.
- https://www.elex-project.com/
-->
<!DOCTYPE instance-profile
SYSTEM "https://resources.jetbrains.com/writerside/1.0/product-profile.dtd">
<instance-profile id="p"
name="Perl"
start-page="starter-topic.md">
<toc-element topic="starter-topic.md">
<toc-element topic="Hello-world.md"/>
<toc-element topic="Data-type.md"/>
<toc-element topic="Variable.md"/>
<toc-element topic="Operator.md"/>
<toc-element topic="Array.md"/>
<toc-element topic="Hash.md"/>
<toc-element topic="Condition.md"/>
<toc-element topic="Loop.md"/>
<toc-element topic="Regular-Expression.md"/>
<toc-element topic="Reference.md"/>
<toc-element topic="Subroutine.md"/>
<toc-element topic="Date-and-Time.md"/>
<toc-element topic="IO.md"/>
<toc-element topic="File-system.md"/>
<toc-element topic="Error-Handling.md"/>
<toc-element topic="Module.md"/>
<toc-element topic="OOP.md"/>
<toc-element topic="System.md"/>
<toc-element topic="Socket.md"/>
<toc-element topic="Sendmail.md"/>
<toc-element topic="GUI.md"/>
<toc-element topic="Json.md"/>
<toc-element topic="POD.md"/>
<toc-element topic="Database.md"/>
<toc-element topic="CGI.md"/>
<toc-element topic="Http.md"/>
<toc-element topic="Base64.md"/>
</toc-element>
</instance-profile>

View File

@@ -1,45 +0,0 @@
# Perl
```bash
sudo apt install perl
```
```bash
perl -v
```
##
## cpan
CPAN은 모듈 관리 프로그램입니다. 최초 실행시에는 설정이 진행되어, 홈 디렉토리에 .cpan과 perl5 디렉토리가 생성되고 PATH가 설정됩니다.
```bash
cpan
```
다음 명령을 사용해서 `cpanm`을 설치합니다. CPANM은 또 다른 모듈 관리 프로그램입니다.
```bash
cpan App::cpanminus
```
또는,
```bash
sudo apt install cpanminus build-essential
```
## cpanm
```bash
cpanm Tk # 모듈을 설치합니다.
```
```bash
cpanm Tk --notest # 테스트 없이 설치합니다.
```
```bash
cpanm --uninstall Tk # 설치된 모듈을 제거합니다.
```

View File

@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE vars SYSTEM "https://resources.jetbrains.com/writerside/1.0/vars.dtd">
<vars>
<var name="product" value="Writerside"/>
</vars>

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2024. Elex. All Rights Reesrved.
- https://www.elex-project.com/
-->
<!DOCTYPE ihp SYSTEM "https://resources.jetbrains.com/writerside/1.0/ihp.dtd">
<ihp version="2.0">
<topics dir="topics" web-path="topics"/>
<images dir="images" web-path="images"/>
<instance src="p.tree"/>
</ihp>

13
app.sh Executable file
View File

@@ -0,0 +1,13 @@
#! /usr/bin/env bash
case $1 in
gitup)
echo "Pushing to git"
git add -A
git commit -m $(date "+%Y-%m-%dT%H:%M:%S")
git push origin
;;
*)
echo "Launching editor"
code .
esac

55
docs/01_perl.md Normal file
View File

@@ -0,0 +1,55 @@
# Perl
Perl은 1987년 Larry Wall이 개발한 다용도 프로그래밍 언어입니다. 'Practical Extraction and Report Language'의 약자로, 텍스트 처리, 시스템 관리, 웹 개발 등 다양한 분야에서 활용됩니다.
* **강력한 텍스트 처리 능력** : Perl은 정규 표현식을 기반으로 강력한 텍스트 처리 기능을 제공합니다. 복잡한 문자열 검색, 치환, 추출 등을 효율적으로 수행할 수 있어 텍스트 분석, 데이터 마이닝 등에 유용합니다.
* **다양한 기능** : Perl은 다양한 모듈을 통해 확장 기능을 제공합니다. 데이터베이스 연동, 네트워크 프로그래밍, GUI 개발 등 다양한 작업을 수행할 수 있습니다. CPAN(Comprehensive Perl Archive Network)에는 10만 개 이상의 모듈이 등록되어 있어 필요한 기능을 쉽게 찾아서 사용할 수 있습니다.
* **이식성** : Perl은 다양한 운영체제에서 실행 가능합니다. Unix, Linux, Windows 등 다양한 환경에서 동일한 코드를 실행할 수 있어 플랫폼에 독립적인 프로그래밍이 가능합니다.
* **스크립트 언어** : Perl은 인터프리터 방식의 스크립트 언어입니다. 컴파일 과정 없이 코드를 즉시 실행할 수 있어 개발 속도가 빠르고 디버깅이 용이합니다.
```bash
sudo apt install perl
```
> 대부분의 리눅스 배포판에는 기본적으로 설치되어 있습니다.
```bash
perl -v
```
## 모듈 관리
### cpan
CPAN은 모듈 관리 프로그램입니다. 최초 실행시에는 설정이 진행되어, 홈 디렉토리에 .cpan과 perl5 디렉토리가 생성되고 PATH가 설정됩니다.
```bash
cpan
```
다음 명령을 사용해서 `cpanm`을 설치합니다. CPANM은 또 다른 모듈 관리 프로그램입니다.
```bash
cpan App::cpanminus
```
또는,
```bash
sudo apt install cpanminus build-essential
```
### cpanm
```bash
cpanm Tk # 모듈을 설치합니다.
```
```bash
cpanm Tk --notest # 테스트 없이 설치합니다.
```
```bash
cpanm --uninstall Tk # 설치된 모듈을 제거합니다.
```