Perl使用介绍71.pptVIP

  • 3
  • 0
  • 约2.18万字
  • 约 83页
  • 2018-04-28 发布于贵州
  • 举报
Perl使用介绍71

Perl使用介紹 What’s Perl What is Perl? Practical Extraction Perl Language Pathologically Electric Rubbish Lister Practically Everything Really Likeable shells, awk, sed, grep, C What’s Perl for? Manipulate text in files, extract data from files write reports Multiple Platform Perl Scripts Perl at the Command Line Script Setup The Script Perl at the Command Line Where is Perl? /usr/local/bin The ‘-e’ switch : 由Command Line執行Perl $ perl -e ‘print “hello dolly\n”’; The ‘-n’ Switch:對檔案的每一行執行相同的動作 Example 1 The ‘-c’ Switch: 檢查Script的語法 $ perl -ce ‘print if /Igor’ emp.first $ perl -ce ‘print if /Igo

文档评论(0)

1亿VIP精品文档

相关文档