Skip Menu |
 

This queue is for tickets about the Devel-REPL CPAN distribution.

Report information
The Basics
Id: 79552
Status: open
Priority: 0/
Queue: Devel-REPL

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

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



CC: caldrin [...] cpan.org
Subject: [MultiLine::PPI] paste-friendliness
Download (untitled) / with headers
text/plain 477b
Paste the following lines into the REPL (with MultiLine::PPI plug-in loaded): my $s = ' foo '; Expected result: $ my $s = ' Show quoted text
> foo > '
foo Actual result: Compile error: Can't find string terminator "'" anywhere before EOF at (eval 561) line 5. It helps to manually wrap the expression in an empty block, i.e. type {, paste, type } and submit with Enter, but the software should be smart enough to figure out by itself when this is needed and do this automatically.
Subject: Re: [rt.cpan.org #79552] [MultiLine::PPI] paste-friendliness
Date: Mon, 10 Sep 2012 11:17:00 -0400
To: bug-Devel-REPL [...] rt.cpan.org
From: Chris Marshall <devel.chm.01 [...] gmail.com>
You could try q{} syntax instead. Does that work better? Thanks for reporting the problem. --Chris On Mon, Sep 10, 2012 at 10:57 AM, Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 via RT <bug-Devel-REPL@rt.cpan.org> wrote: Show quoted text
> Mon Sep 10 10:57:19 2012: Request 79552 was acted upon. > Transaction: Ticket created by DAXIM > Queue: Devel-REPL > Subject: [MultiLine::PPI] paste-friendliness > Broken in: 1.003013 > Severity: (no value) > Owner: Nobody > Requestors: daxim@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79552 > > > > Paste the following lines into the REPL (with MultiLine::PPI plug-in > loaded): > > my $s = ' > foo > '; > > Expected result: > > $ my $s = '
>> foo >> '
> > foo > > > Actual result: > > Compile error: Can't find string terminator "'" anywhere before EOF at > (eval 561) line 5. > > > It helps to manually wrap the expression in an empty block, i.e. type > {, paste, type } and submit with Enter, but the software should be > smart enough to figure out by itself when this is needed and do this > automatically.
No, it doesn't work at all, no matter how the string is quoted.
Subject: Re: [rt.cpan.org #79552] [MultiLine::PPI] paste-friendliness
Date: Mon, 10 Sep 2012 12:49:41 -0400
To: bug-Devel-REPL [...] rt.cpan.org
From: Chris Marshall <devel.chm.01 [...] gmail.com>
Download (untitled) / with headers
text/plain 295b
Thanks for checking. On Mon, Sep 10, 2012 at 12:45 PM, Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 via RT <bug-Devel-REPL@rt.cpan.org> wrote: Show quoted text
> Queue: Devel-REPL > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79552 > > > No, it doesn't work at all, no matter how the string is quoted.


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.