title: Perl Warning: Use of uninitialized value while using string with multiple dots (.)
body: <p>I'm Kinda new to Perl scripting. I am trying remote SSH to a Linux machine and my code as below:</p>
  
  <pre><code>my $hostname = "something.xyz.abc.com";
  my $uid = "userid";
  my $pwd = "pass";
  
  my $ssh = Net::SSH::Perl-&gt;new($hostname);
  $ssh-&gt;login($uid, $pwd);
  my($stdout, $stderr, $exit) = $ssh-&gt;cmd("ls -l");
  print $stdout;
  </code></pre>
  
  <p>What is the reason I am seeing the </p>
  
  <blockquote>
    <p>"Use of uninitialized value while using string with multiple dots (.)" </p>
  </blockquote>
  
  <p>warning? How to avoid/suppress it? Are those multiple dots creating issue?</p>
  
  <p>The specific error message(s) are:</p>
  
  <pre><code>Use of uninitialized value in concatenation (.) or string at C:/Dwimperl/perl/site/lib/Net/SSH/Perl/Key.pm line 13, &lt;$fh&gt; line 57.
  Use of uninitialized value $blob in split at C:/Dwimperl/perl/site/lib/Net/SSH/Perl/Key.pm line 41, &lt;$fh&gt; line 59.
  Use of uninitialized value $ssh_name in hash element at C:/Dwimperl/perl/site/lib/Net/SSH/Perl/Key.pm line 42, &lt;$fh&gt; line 59.
  Use of uninitialized value in subroutine entry at C:/Dwimperl/perl/site/lib/Net/SSH/Perl/Key.pm line 45, &lt;$fh&gt; line 59.
  </code></pre>