Skip Menu |
 

This queue is for tickets about the Cisco-Reconfig CPAN distribution.

Report information
The Basics
Id: 48666
Status: resolved
Priority: 0/
Queue: Cisco-Reconfig

People
Owner: Nobody in particular
Requestors: micah [...] kemp.tv
Cc:
AdminCc:

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



Subject: Inconsistent Spacing
Date: Wed, 12 Aug 2009 16:03:28 -0500
To: bug-Cisco-Reconfig [...] rt.cpan.org
From: Micah Kemp <micah [...] kemp.tv>
Download Reconfig.pm.patch
text/x-diff 323b

Message body is not shown because sender requested not to inline it.

Download (untitled) / with headers
text/plain 687b
David, I wanted to thank you for the Cisco::Reconfig module, as it helped me with an odd problem I faced. There is one odd thing I noticed (and I saw others via Google with the same problem). The module causes the script to die when inconsistent spacing is found. In my case, it was a line being one space fewer indented than the previous line. I see how this presents a problem for the config reader, as it's ambiguous as to how this line fits in the config. However, would it also work to issue a warning, then skip the line? If so, please consider the committing (or editing to your liking, then committing) the patch I have attached to your repository. Thanks again, -micah
Fixed in 0.9


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.