On Mon, 15 Oct 2012 11:38:14 +0200
Papp Tamas <[email protected]> wrote:

> On 10/15/2012 11:05 AM, Dave Howorth wrote:
>     482          if ( $A{dir} != /^:/ )    # Eric M's BadShellCmd fix
> 
> Again, this is the message:
> 
> Use of uninitialized value $_ in pattern match (m//) at 
> /usr/lib/perl5/Dirvish.pm line 482.
> Argument "/data/backup/access/2012-10-15--11-34/tree" isn't numeric
> in numeric ne (!=) at /usr/lib/perl5/Dirvish.pm line 482.
> Use of uninitialized value $A{"shell"} in string at 
> /usr/lib/perl5/Dirvish.pm line 491.

One can infer from this that the line should read:
  if ( $A{dir} !~ /^:/ )
"!=" is numeric inequality comparison, "/^:/" is a regex, and "!~" is
regex non-match comparison.

Hope that helps,

James Stanley
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to