Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the PPI CPAN distribution.

Report information
The Basics
Id: 51532
Status: new
Priority: 0/
Queue: PPI

Owner: Nobody in particular
Requestors: user42 [...]

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

Subject: QuoteLike string() method
Date: Sun, 15 Nov 2009 08:42:54 +1100
To: bug-PPI [...]
From: Kevin Ryde <user42 [...]>
Download (untitled) / with headers
text/plain 499b
As a suggestion for methods, it'd be good if PPI::Token::QuoteLike had a string() method the same as PPI::Token::Quote, giving the guts of the quoted thing (delimiters stripped but backslashes unchanged). I'd use it on QuoteLike::Backtick and QuoteLike::Command, and it seems fairly natural for QuoteLike::Regexp. For QuoteLike::Words it may be a little unusual to want the raw contents rather than split into words, but I could imagine say looking at the raw contents to check indenting or tabs.

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

Please report any issues with to