<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>hash Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/hash/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/hash/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:18:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Perl validation on hash key is defined or not</title>
		<link>https://www.scmgalaxy.com/tutorials/perl-validation-on-hash-key-is-defined-or-not/</link>
					<comments>https://www.scmgalaxy.com/tutorials/perl-validation-on-hash-key-is-defined-or-not/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 08 Dec 2017 10:25:54 +0000</pubDate>
				<category><![CDATA[Perl Script]]></category>
		<category><![CDATA[hash]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2431</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: perl validation on hash key is defined or not Solutions Thanks Len for example program. our [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/perl-validation-on-hash-key-is-defined-or-not/">Perl validation on hash key is defined or not</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: perl validation on hash key is defined or not</strong></p>
<p>Solutions Thanks Len for example program.</p>
<p>our %SERVERS = (<br />
&#8220;rajesh1&#8221; => {type => &#8216;prod&#8217;, sha => &#8216;ram&#8217;},<br />
&#8220;rajesh2&#8221; => {type => &#8216;prod&#8217;, sha => &#8216;sita&#8217;},<br />
&#8220;rajesh3&#8221; => {type => &#8216;xyz&#8217;, named => [&#8220;raa&#8221;]},<br />
&#8220;rajesh4&#8221; => {type => &#8216;xxx&#8217;, named => [&#8220;rajjaj&#8221;]},<br />
);</p>
<p>while (my $mServer = each %SERVERS) {<br />
if ($SERVERS{$mServer}{type} eq &#8220;prod&#8221; &#038;&#038; !$SERVERS{$mServer}{named}) {<br />
print &#8220;$mServer\n&#8221;;<br />
}<br />
}</p>
<p>Other sols</p>
<p>if ($SERVERS{$mServer}->{type} eq &#8220;prod&#8221; &#038;&#038;<br />
! defined $SERVERS{$mServer}->{named} )</p>
<p>More Reference:<br />
<a href="http://perldoc.perl.org/functions/exists.html">perldoc.perl.org/functions/exists.html</a></p>
<p>Regards,<br />
Rajesh Kumar<br />
Twitt me @ twitter.com/RajeshKumarIn</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/perl-validation-on-hash-key-is-defined-or-not/">Perl validation on hash key is defined or not</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/perl-validation-on-hash-key-is-defined-or-not/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
