[Bug 544738] cpanspec doesn't escape "/" in --filter-requires leading to bad sed statements

bugzilla at redhat.com bugzilla at redhat.com
Wed Jan 20 03:55:02 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=544738

--- Comment #3 from Need Real Name <bugzilla at kosowsky.org> 2010-01-19 22:54:57 EST ---
Thanks for the update - my query was not a complaint as much as just trying to
find out if anybody out there was following this bug.

Although I am no Perl expert, I believe that Perl has some very useful
paradigms for making sure that regex's are appropriately quoted.

Incidentally, it is a bit ironic that this perl-oriented program (it is
cpan2spec afterall) uses 'sed' rather than more powerful 'perl' paradigms to
filter. Switching to perl should be simple and would solve the problem using
something like the \Q...\E expression.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the perl-devel mailing list