<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: New to Perl in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/new-to-perl/m-p/3854381#M24965</link>
    <description>The answer to your second question is NO.&lt;BR /&gt;In general you have several ways to write a script in perl.&lt;BR /&gt;One more that achieves what you want:&lt;BR /&gt;$Scanner_Name=uc($Scanner_Name) if $Scanner_Name eq "inventory";</description>
    <pubDate>Thu, 31 Aug 2006 15:34:42 GMT</pubDate>
    <dc:creator>Alexander Chuzhoy</dc:creator>
    <dc:date>2006-08-31T15:34:42Z</dc:date>
    <item>
      <title>New to Perl</title>
      <link>https://community.hpe.com/t5/operating-system-linux/new-to-perl/m-p/3854377#M24961</link>
      <description>I need to specify &lt;BR /&gt;#If it's the inventory scanner set the scanner to upper case&lt;BR /&gt;    Code:&lt;BR /&gt;        If ($Scanner_Type eq 'inventory') {&lt;BR /&gt;        $Scanner_Name = $UPPERCASE;&lt;BR /&gt;Is this about right?&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Aug 2006 09:24:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/new-to-perl/m-p/3854377#M24961</guid>
      <dc:creator>Yvette Robinson</dc:creator>
      <dc:date>2006-08-31T09:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: New to Perl</title>
      <link>https://community.hpe.com/t5/operating-system-linux/new-to-perl/m-p/3854378#M24962</link>
      <description>if you mean that if $Scanner_Type is inventory than it should be INVENTORY than this will be better&lt;BR /&gt;$Scanner_Type = ($Scanner_Type eq 'inventory')?uc($Scanner_Type):$Scanner_Type;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Aug 2006 10:30:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/new-to-perl/m-p/3854378#M24962</guid>
      <dc:creator>g33k</dc:creator>
      <dc:date>2006-08-31T10:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: New to Perl</title>
      <link>https://community.hpe.com/t5/operating-system-linux/new-to-perl/m-p/3854379#M24963</link>
      <description>Couldn't I also have written it like this as well?&lt;BR /&gt;If ($Scanner_Type eq 'INVENTORY')?uc&lt;BR /&gt;    $Scanner_Name = uc:$Scanner_Name</description>
      <pubDate>Thu, 31 Aug 2006 10:47:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/new-to-perl/m-p/3854379#M24963</guid>
      <dc:creator>Yvette Robinson</dc:creator>
      <dc:date>2006-08-31T10:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: New to Perl</title>
      <link>https://community.hpe.com/t5/operating-system-linux/new-to-perl/m-p/3854380#M24964</link>
      <description>Hi Yvette:&lt;BR /&gt;&lt;BR /&gt;# perl -le '$name="allcaps";$type="InVeNtOrY";$name=uc($name) if $type=~/inventory/i;print $name' &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 31 Aug 2006 13:43:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/new-to-perl/m-p/3854380#M24964</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-08-31T13:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: New to Perl</title>
      <link>https://community.hpe.com/t5/operating-system-linux/new-to-perl/m-p/3854381#M24965</link>
      <description>The answer to your second question is NO.&lt;BR /&gt;In general you have several ways to write a script in perl.&lt;BR /&gt;One more that achieves what you want:&lt;BR /&gt;$Scanner_Name=uc($Scanner_Name) if $Scanner_Name eq "inventory";</description>
      <pubDate>Thu, 31 Aug 2006 15:34:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/new-to-perl/m-p/3854381#M24965</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2006-08-31T15:34:42Z</dc:date>
    </item>
  </channel>
</rss>

