<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Automation on Shafiq Alibhai</title>
    <link>https://www.shafiq.in/zh/tags/automation/</link>
    <description>Recent content in Automation on Shafiq Alibhai</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <copyright>© 2009-2026 All rights reserved.</copyright>
    <lastBuildDate>Tue, 21 Feb 2012 07:18:05 +0000</lastBuildDate>
    <atom:link href="https://www.shafiq.in/zh/tags/automation/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>A Beginner&#39;s Guide to Perl Expect Bindings - A Simple Walkthrough</title>
      <link>https://www.shafiq.in/zh/blog/a-beginners-guide-to-perl-expect-bindings-a-simple-walkthrough/</link>
      <pubDate>Tue, 21 Feb 2012 07:18:05 +0000</pubDate>
      <guid>https://www.shafiq.in/zh/blog/a-beginners-guide-to-perl-expect-bindings-a-simple-walkthrough/</guid>
      <description>&lt;h2 id=&#34;basic-perl-hello-world-script-hellopl&#34;&gt;Basic Perl &amp;ldquo;Hello World&amp;rdquo; Script (hello.pl)&lt;a class=&#34;anchor&#34; href=&#34;#basic-perl-hello-world-script-hellopl&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Let&amp;rsquo;s start with the basics. Here is a straightforward &amp;ldquo;Hello World&amp;rdquo; script written in Perl. Create a new file and name it &lt;code&gt;hello.pl&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-perl&#34; data-lang=&#34;perl&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;ch&#34;&gt;#!/usr/bin/perl&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;use&lt;/span&gt; &lt;span class=&#34;nn&#34;&gt;strict&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;use&lt;/span&gt; &lt;span class=&#34;nn&#34;&gt;warnings&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;use&lt;/span&gt; &lt;span class=&#34;nn&#34;&gt;diagnostics&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;print&lt;/span&gt; &lt;span class=&#34;s&#34;&gt;&amp;#34;-----------\n&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;      &lt;span class=&#34;s&#34;&gt;&amp;#34;Hello World\n&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;      &lt;span class=&#34;s&#34;&gt;&amp;#34;-----------\n&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;In this script, we&amp;rsquo;re using Perl&amp;rsquo;s built-in modules for error handling (&lt;code&gt;use strict; use warnings; use diagnostics;&lt;/code&gt;) to make sure the code is robust.&lt;/p&gt;&#xA;&lt;h2 id=&#34;introducing-expect-bindings-with-perl-testpl&#34;&gt;Introducing Expect Bindings with Perl (test.pl)&lt;a class=&#34;anchor&#34; href=&#34;#introducing-expect-bindings-with-perl-testpl&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Now, let&amp;rsquo;s dive into the main topic: how to use Expect bindings in a Perl script. Create another file, &lt;code&gt;test.pl&lt;/code&gt;, and add the following code:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Navigating the Obstacles of Continuous Delivery</title>
      <link>https://www.shafiq.in/zh/blog/navigating-the-obstacles-of-continuous-delivery/</link>
      <pubDate>Mon, 02 Jan 2012 17:31:13 +0000</pubDate>
      <guid>https://www.shafiq.in/zh/blog/navigating-the-obstacles-of-continuous-delivery/</guid>
      <description>&lt;p&gt;Mastering the art of Continuous Delivery is about more than just pushing code onto a server. It&amp;rsquo;s a delicate balance of managing your technology and the people who interact with it. One major stumbling block? The tiny differences between machines that happen when someone decides to make ad-hoc changes. These may seem trivial, but they can cause massive headaches when it comes to debugging and troubleshooting.&lt;/p&gt;&#xA;&lt;p&gt;The endgame here is clear: Create a system so streamlined that there&amp;rsquo;s no need for anyone to manually log in to make changes. Achieving this means fewer bugs, faster deployments, and ultimately, a happier team.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
