Perl
RECOPILACIÓN DE MATERIAL “PERL”
PROFRA: ANA MILLAN
PROGRAMACIÓN DE SISTEMAS
06/DICIEMBRE/2010
Características Del Lenguaje
Perl forma parte delas tres p`s de Internet ( perl, phyton, php).
Se utiliza a menudo también con un lenguaje pegamento, entre distintos tipos de lenguajes de programación.
Es un lenguaje interpretado.
Loselementos a utilizar dentro de este lenguaje serán los siguientes:
Palabras reservadas:
Foreach next print if length
Index push pop and or
Shiftunshift reverse sort split
Delete else while for last
Chop not join next values
Los caracteres a utilizar serán lossiguientes:
Identificadores con el token 100
Digitos: números enteros con el token 126, números decimales con el 127.
. = 138
+ = 128
- = 129
/ = 132
= = 142
** = 130
* = 131
( = 136
) =137
{ = 140
} = 141
; = 139
“ = 134
< = 143
= 145
>= = 146
Matriz De Transición
|L |D |, |+ |- |/ |= |* |( |) |{ |} |; |" |esp |< |> |O.C |# |$ | |0 |1 |2 |138 |128 |129 |132 |142 |5|136 |137 |140 |141 |139 |134 |0 |6 |7 |503 |135 |133 | |1 |1 |100 |100 |100 |100 |100 |100 |100 |100 |100 |100 |100 |100 |100 |100 |100 |100 |100 |100 |100 | |2 |126 |2 |3 |126 |126 |126 |126 |126 |126|126 |126 |126 |126 |126 |126 |126 |126 |126 |126 |126 | |3 |500 |4 |500 |500 |500 |500 |500 |500 |500 |500 |500 |500 |500 |500 |500 |500 |500 |500 |500 |500 | |4 |127 |4 |127 |127 |127 |127 |127|127 |127 |127 |127 |127 |127 |127 |127 |127 |127 |127 |127 |127 | |5 |131 |131 |131 |131 |131 |131 |131 |130 |131 |131 |131 |131 |131 |131 |131 |131 |131 |131 |131 |131 | |6 |143 |143 |143 |143 |143|143 |144 |143 |143 |143 |143 |143 |143 |143 |143 |143 |143 |143 |143 |143 | |7 |145 |145 |145 |145 |145 |145 |146 |145 |145 |145 |145 |145 |145 |145 |145 |145 |145 |145 |145 |145 | |
Estructuras a...
Regístrate para leer el documento completo.