Perl세미나

276 views
251 views

Published on

펄 세미나 자료

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
276
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Perl세미나

  1. 1. Perl Seminar
  2. 2. Perl Seminar
  3. 3. Perl Seminar by
  4. 4. What is Perl?
  5. 5. What is Perl?
  6. 6. What is Perl?
  7. 7. How to program it?
  8. 8. How to program it? Just type “perl”
  9. 9. How to program it?
  10. 10. How to program it?
  11. 11. How to program it? or
  12. 12. How to program it?
  13. 13. How to program it?
  14. 14. How to program it? Make “.pl” file
  15. 15. How to program it?
  16. 16. How to program it?
  17. 17. How to program it? or
  18. 18. How to program it?
  19. 19. How to program it?
  20. 20. How to program it?#!/usr/bin/env perl
  21. 21. How to program it?
  22. 22. How to program it?
  23. 23. How to program it? AND
  24. 24. How to program it?
  25. 25. How to program it?
  26. 26. How to program it? Run !
  27. 27. How to program it?
  28. 28. Hell o World!
  29. 29. Hello, World!
  30. 30. Hello, World!
  31. 31. Hello, World!print “Hello, World!”;
  32. 32. Hello, World!
  33. 33. Basic 1 : Variable
  34. 34. Basic 1-1 : Normal Variable
  35. 35. Basic 1-1 : Normal Variable
  36. 36. Basic 1-1 : Normal Variable : $VariableName
  37. 37. Basic 1-1 : Normal Variable : $VariableName or or
  38. 38. Basic 1-1 : Normal Variable
  39. 39. Basic 1 : Variable
  40. 40. Basic 1-2 : Array Variable
  41. 41. Basic 1-2 : Array Variable : @VariableName
  42. 42. Basic 1-2 : Array Variable : @VariableName $#VariableName :
  43. 43. Basic 1-2 : Array Variable : @VariableName $#VariableName : $VariableName[n] : n
  44. 44. Basic 1-2 : Array Variable
  45. 45. Basic 1 : Variable
  46. 46. Basic 1-3 : Hash Variable ( )
  47. 47. Basic 1-3 : Hash Variable ( ) : %VariableName
  48. 48. Basic 1-3 : Hash Variable ( ) : %VariableName$VariableName{key} : key value
  49. 49. Basic 1-3 : Hash Variable
  50. 50. Basic 1 : Variable
  51. 51. Basic 1-4 : Temp Variable
  52. 52. Basic 1-4 : Temp Variable : $_
  53. 53. Basic 1-4 : Temp Variable
  54. 54. Basic 2 : Operator
  55. 55. Basic 2-1 : Numeric Operator
  56. 56. Basic 2-1 : Numeric Operator +
  57. 57. Basic 2-1 : Numeric Operator + -
  58. 58. Basic 2-1 : Numeric Operator + - *
  59. 59. Basic 2-1 : Numeric Operator + - * /
  60. 60. Basic 2-1 : Numeric Operator + - * / t Ba sic! t is jus I
  61. 61. Basic 2-1 : Numeric Operator + - * /
  62. 62. Basic 2-1 : Numeric Operator += -= *= /=
  63. 63. Basic 2-1 : Numeric Operator += -= *= /= ad d = Jus t
  64. 64. Basic 2-1 : Numeric Operator
  65. 65. Basic 2-1 : Numeric Operator
  66. 66. Basic 2-1 : Numeric Operator == != < > <= >=
  67. 67. Basic 2-1 : Numeric Operator
  68. 68. Basic 2 : Operator
  69. 69. Basic 2-2 : String Operator
  70. 70. Basic 2-2 : String Operator .
  71. 71. Basic 2-2 : String Operator J OIN .
  72. 72. Basic 2-2 : String Operator J OIN . x
  73. 73. Basic 2-2 : String Operator J OIN . x REPEAT!
  74. 74. Basic 2-2 : String Operator
  75. 75. Basic 2-2 : String Operator
  76. 76. Basic 2-2 : String Operator eq ne lt gt le ge
  77. 77. Basic 2-2 : String Operator
  78. 78. Basic 3 : Loop
  79. 79. Basic 3-1 : For
  80. 80. Basic 3-1-1 : Normal For
  81. 81. Basic 3-1-1 : Normal For for(Init; Cond; Inc) { # Something Todo }
  82. 82. Basic 3-1-1 : Normal For
  83. 83. Basic 3-1 : For
  84. 84. Basic 3-1-2 : Foreach
  85. 85. Basic 3-1-2 : Foreach foreach(List) { # Something Todo }
  86. 86. Basic 3-1-2 : Foreach
  87. 87. Basic 3-1-2 : Foreach
  88. 88. Basic 3-1-2 : Foreach for(List) { # Something Todo }
  89. 89. Basic 3-1-2 : Foreach
  90. 90. Basic 3-1-2 : Foreach
  91. 91. Basic 3-1-2 : Foreach foreach $Value (List) { # Something Todo }
  92. 92. Basic 3-1-2 : Foreach
  93. 93. Basic 3-2 : While
  94. 94. Basic 3-2 : Whilewhile(condition) { # something to do}
  95. 95. Basic 4 : Subroutine
  96. 96. Basic 4-1 : Subroutine?
  97. 97. Basic 4 : Subroutine
  98. 98. Basic 4-2 : definition sub NAME { }
  99. 99. Basic 4 : Subroutine
  100. 100. Basic 4-3 : Usage NAME(ARG1, ARG2, ARG3);
  101. 101. Basic 5 : I/O
  102. 102. Basic 5-1 : File I/O
  103. 103. Basic 5-1 : File I/Oopen(HANDLE, < or > or >>, FILENAME)
  104. 104. Basic 5-1 : File I/Oopen(HANDLE, < or > or >>, FILENAME) Input: <HANDLE>;
  105. 105. Basic 5-1 : File I/Oopen(HANDLE, < or > or >>, FILENAME) Input: <HANDLE>; Output: print DESTINATION SOURCE;
  106. 106. Basic 5-1 : File I/Oopen(HANDLE, < or > or >>, FILENAME) Input: <HANDLE>; Output: print DESTINATION SOURCE; close HANDLE;
  107. 107. Basic 5 : I/O
  108. 108. Basic 5-2 : Console I/O
  109. 109. Basic 5-2 : Console I/O Input: <STDIN>;
  110. 110. Basic 5-2 : Console I/O Input: <STDIN>; Output: print;
  111. 111. Basic 5-2 : Console I/O Input: <STDIN>; Output: print; ReadMode noecho;
  112. 112. Basic 6 : ARGUMENTS
  113. 113. Basic 6 : ARGUMENTS
  114. 114. Basic 6 : ARGUMENTS @_
  115. 115. Basic 6 : ARGUMENTS @_ @ARGV
  116. 116. Basic 6 : ARGUMENTS @_ @ARGV shift

×