Skip Menu |

This queue is for tickets about the Net-SFTP-Recursive CPAN distribution.

Report information
The Basics
Id: 30489
Status: new
Priority: 0/
Queue: Net-SFTP-Recursive

People
Owner: Nobody in particular
Requestors: LGODDARD [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: 0.12



Subject: Typo; deep-recursion error
Sorry no time to provide a diff or patch: modified pm attached. In sum, sub rget had a typo: if ($ln =~ /^d/ |\ $ln =~ /<DIR>/i) { # it is a dir type Presumably should have read: if ($ln =~ /^d/ || $ln =~ /<DIR>/i) { # it is a dir type I made the next line read next if $fn eq '.' or $fn eq '..'; # Lee added That stops the deep-recursion, as well as preventing up-dir. Lee
Subject: Recursive.pm

Message body is not shown because it is too large.