随笔分类 -  perl

摘要:"更多" perl !/usr/bin/perl 在windows获取当前的桌面壁纸 See also: https://www.winhelponline.com/blog/find current wallpaper file path windows 10/ use v5.26; use st 阅读全文
posted @ 2020-01-06 21:38 Ajanuw 阅读(347) 评论(0) 推荐(0)
摘要:"更多" 阅读全文
posted @ 2020-01-06 16:35 Ajanuw 阅读(238) 评论(0) 推荐(0)
摘要:"see also" "Dumper" 字符串花perl的数据结构 "Getopt::Long" 解析复杂的命令行参数 执行上面的代码,打印: 脚本名为“$0”与“__FILE__”类似 从@ARGV提取命令行参数 可以使用 "常规数组操作符" 来获取参数 检查参数 使用“Getopt::Long” 阅读全文
posted @ 2019-10-08 09:07 Ajanuw
摘要:"youtube" "cpan" "官方文档" hello world morbo main.perl Server available at http://127.0.0.1:3000 路由 阅读全文
posted @ 2018-09-13 20:18 Ajanuw
摘要:"Docs" get get2 get 3 get 4 post post2 阅读全文
posted @ 2018-08-28 16:30 Ajanuw
摘要:执行脚本 λ perl main.pl ./src 阅读全文
posted @ 2018-07-14 11:11 Ajanuw 阅读(353) 评论(0) 推荐(0)
摘要:http://blog.sina.com.cn/s/blog_5e425dd601019317.html for(stat('./asd.txt')){ 接收3中参数 filename, , _ , 默认参数$_ print "$_\n"; }; ``` 阅读全文
posted @ 2018-07-13 13:14 Ajanuw
摘要:不会读取 影藏文件 main 执行 阅读全文
posted @ 2018-07-06 22:20 Ajanuw 阅读(1041) 评论(0) 推荐(1)
摘要:main 执行脚本 阅读全文
posted @ 2018-07-06 21:42 Ajanuw 阅读(4673) 评论(0) 推荐(0)
摘要:replace 执行 text.txt ajanuw.txt 改变源文件 阅读全文
posted @ 2018-07-06 20:13 Ajanuw 阅读(398) 评论(0) 推荐(0)
摘要:"文档" 函数参数 传递hash参数 return 如果没有使用 return 语句,则子程序的最后一行语句将作为返回值 静态变量 这个在js只能用闭包实现 析构返回值 递归 回调 闭包 阅读全文
posted @ 2018-07-03 20:05 Ajanuw 阅读(665) 评论(0) 推荐(0)