Loading [MathJax]/jax/element/mml/optable/BasicLatin.js

06 2021 档案

摘要:perl practice 人民币/美金根据汇率进行转换 print<<EOF; This is a currency convert program; please input the exchange rate and select the local currency; EOF print " 阅读全文
posted @ 2021-06-25 07:05 MOVIT 阅读(40) 评论(0) 推荐(0) 编辑
摘要:perl变量 数据类型 标量 列表 哈希 变量类型 标量变量 数组 哈希 变量表示 字母或下划线开头,其他部分由数字/字母/下划线组成 全局/局部标量变量 局部变量只在其所属的block中起作用 my var_name; #局部变量 ourvar_name; #全局变量 my $num = 1 阅读全文
posted @ 2021-06-23 22:32 MOVIT 阅读(55) 评论(1) 推荐(0) 编辑
摘要:hex oct ord 函数 hex() 十六进制转十进制函数 oct() 八进制转十进制函数 ord 返回ascii字符数值 示例 hex/oct处理对象需要用单引号或双引号包围 print hex("0xff"),"\n"; print hex(0xff),"\n"; #incorrect re 阅读全文
posted @ 2021-06-23 22:15 MOVIT 阅读(68) 评论(0) 推荐(0) 编辑
摘要:perl操作符 算数操作符 符号 表示 + 加法 - 减法 * 乘法 / 除法 % 取余 ** 幂指数 位运算 符号 表示 & 按位与 | 按位或 ^ 按位异或 ~ 按位取反 and 按位与 or 按位或 xor 按位异或 not 按位取反 >> 按位右移 << 按位左移 数值比较运算符 符号 表示 阅读全文
posted @ 2021-06-23 21:54 MOVIT 阅读(113) 评论(0) 推荐(0) 编辑
摘要:perl heredoc heredoc由两个小于号开头<< 小于号和lable之间不能有空格 heredoc末尾处lable要和开头一致 lable单引号包围,变量保持原始含义 my name=lina;myinfo = >>'EOF'; #注意尾部分号 Here name is $n 阅读全文
posted @ 2021-06-22 23:40 MOVIT 阅读(95) 评论(0) 推荐(0) 编辑
摘要:perl引号 单引号 \\ 和 \'会被转义为反斜线和单引号外,其他字符串保留自身的含义 双引号 双引号会对字符串进行转义 反引号 子命令执行 引号的表示 引号 表示 单引号 q// 双引号 qq// 反引号 qx// 阅读全文
posted @ 2021-06-21 22:40 MOVIT 阅读(75) 评论(0) 推荐(0) 编辑
摘要:perl数值进制 进制 表示 0b### 二进制 0~1 0x### 十六进制 0~F 0#### 八进制 0~7 my num = 16 print("%b",num); print("%o",num); print("%x",num); #十六进制转十进制 hex(0x###) #八进制 阅读全文
posted @ 2021-06-21 22:31 MOVIT 阅读(95) 评论(0) 推荐(0) 编辑
摘要:提问的智慧 How To Ask Questions The Smart Way Copyright © 2001,2006,2014 Eric S. Raymond, Rick Moen 本指南英文版版权为 Eric S. Raymond, Rick Moen 所有。 原文网址:http://ww 阅读全文
posted @ 2021-06-21 20:42 MOVIT 阅读(39) 评论(0) 推荐(0) 编辑
摘要:How To Ask Questions The Smart Way Eric Steven Raymond Thyrsus Enterprises <esr@thyrsus.com> Rick Moen <respond-auto@linuxmafia.com> Copyright © 2001, 阅读全文
posted @ 2021-06-21 20:30 MOVIT 阅读(28) 评论(0) 推荐(0) 编辑
摘要:PERL命令行 perl命令行操作需要加上-e否则会寻找perl脚本文件,命令用单引号包围,双引号会被OS认为是变量 PERL命令行参数 -n参数 -n参数相当于创建while循环 while(<>) { commands; } -p参数 -p参数创建while循环,下一步打印 while(<>) 阅读全文
posted @ 2021-06-20 15:33 MOVIT 阅读(739) 评论(1) 推荐(0) 编辑
摘要:电子书列表 1——32 33——64 65——96 97——128 129——160 161——192 193——224 225——230 阅读全文
posted @ 2021-06-19 22:25 MOVIT 阅读(314) 评论(1) 推荐(0) 编辑
摘要:This is a most popular repository list for Perl sorted by number of stars STARS FORKS ISSUES LAST COMMIT NAME/PLACE DESCRIPTION 13791 302 17 4 months 阅读全文
posted @ 2021-06-07 06:24 MOVIT 阅读(293) 评论(0) 推荐(0) 编辑
摘要:This is a most popular repository list for VHDL sorted by number of stars STARS FORKS ISSUES LAST COMMIT NAME/PLACE DESCRIPTION 1111 194 184 4 hours a 阅读全文
posted @ 2021-06-07 06:22 MOVIT 阅读(2126) 评论(0) 推荐(0) 编辑
摘要:This is a most popular repository list for Verilog sorted by number of stars STARS FORKS ISSUES LAST COMMIT NAME/PLACE DESCRIPTION 1450 676 33 1 year, 阅读全文
posted @ 2021-06-07 06:19 MOVIT 阅读(2147) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示