惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Exploit Database - CXSecurity.com
A
Arctic Wolf
K
Kaspersky official blog
T
Threat Research - Cisco Blogs
PCI Perspectives
PCI Perspectives
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Privacy International News Feed
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
U
Unit 42
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
P
Privacy & Cybersecurity Law Blog
O
OpenAI News
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
C
Cisco Blogs
AWS News Blog
AWS News Blog
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
美团技术团队
T
Threatpost
S
Schneier on Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
C
Cyber Attacks, Cyber Crime and Cyber Security
Last Week in AI
Last Week in AI
C
CERT Recently Published Vulnerability Notes
Blog — PlanetScale
Blog — PlanetScale
C
Cybersecurity and Infrastructure Security Agency CISA
F
Full Disclosure
博客园_首页
N
Netflix TechBlog - Medium
Security Latest
Security Latest
有赞技术团队
有赞技术团队
Google DeepMind News
Google DeepMind News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Register - Security
The Register - Security
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Recent Announcements
Recent Announcements
博客园 - Franky
P
Palo Alto Networks Blog
Project Zero
Project Zero
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
H
Help Net Security
Hacker News: Ask HN
Hacker News: Ask HN
Cisco Talos Blog
Cisco Talos Blog
H
Heimdal Security Blog
The Hacker News
The Hacker News
博客园 - 【当耐特】
GbyAI
GbyAI

Perl

一段 perl 代码展示如何 all in one 优雅地编写一个异步爬虫 - V2EX Perl 怀旧群 - V2EX 安装社区版 perl 时的注册问题 - V2EX 有没有业余学 perl 作为爱好的 - V2EX 来一起学习 Perl 6 阿 - V2EX Perl 学习地 - V2EX 新手学 perl,想问一下 print 数字的时候,为什么后面总是跟着一个“%” - V2EX perl 的打包部署问题 - V2EX Perl 爬取内容失败 - V2EX 连永远的毁灭公爵都发布了 perl6还没有完工 - V2EX perl6就要出来了,大家有期待的吗?
perl 还值得学吗 - V2EX
jiafaner · 2018-10-14 · via Perl
iannil

9

iannil      2018 年 10 月 14 日

@jiafaner #7

胶水就用 perl 呗,就是用多用少的问题。

怎么处理看情况,通过分析现有系统的开放程度(例如有无现成的接口),代码架构(是否有专门的表现层),数据复杂度(简单的话,可以直接用新语言和数据库通讯)等才好下结论。

1. 最好是直接和数据库玩,或者有现成的接口。
2. 次好是在表现层全局拦一下,想办法把数据处理一下给到外围。
3. 最次是本身旧系统没有做分层,要改 N 多个地方才能做好胶水层。

从 1 到 3,1 用不到 perl,2 要求最起码能看懂 perl,3 不仅要能看懂代码,还得看懂业务,要求逐层拔高。

题外话:
perl 本身就是出了名的阅读不友好,以前还有个啥比赛,就比谁写 perl 写的更难懂。
重写的风险确实高于扩展,不能上来就要重写,一定要有个逐渐替换的过程才比较可控。