Skip Menu |
 

This queue is for tickets about the Getopt-Declare CPAN distribution.

Report information
The Basics
Id: 52953
Status: resolved
Priority: 0/
Queue: Getopt-Declare

People
Owner: Nobody in particular
Requestors: danny-bitcard [...] sadinoff.com
Cc:
AdminCc:

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



Subject: Doesn't seem to like use strict;
Download (untitled) / with headers
text/plain 203b
prepending "use strict" breaks the demo programs. This makes the library a non-starter for me. I feel like there must be some sort of "no strict" workaround, but I can't figure out where to put it.
Download (untitled) / with headers
text/plain 171b
Hi, I use 'use strict;' in my programs all the time with Getopt::Declare and don't have any trouble. Can you please include code that shows what you are trying to achieve?
CC: danny-bitcard [...] sadinoff.com
Subject: Re: [rt.cpan.org #52953] Doesn't seem to like use strict;
Date: Tue, 22 Dec 2009 03:16:24 +0200
To: bug-Getopt-Declare [...] rt.cpan.org
From: Danny Sadinoff <von.fraginoff [...] gmail.com>
Download (untitled) / with headers
text/plain 468b
The demos don't compile with use strict. Use of the block-local variable feature fails. On Tue, Dec 22, 2009 at 1:54 AM, Florent Angly via RT < bug-Getopt-Declare@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=52953 > > > Hi, I use 'use strict;' in my programs all the time with Getopt::Declare > and don't have any trouble. Can you please include code that shows what > you are trying to achieve? >
-- Danny Sadinoff danny@sadinoff.com
Download (untitled) / with headers
text/plain 381b
On Mon Dec 21 18:54:46 2009, FANGLY wrote: Show quoted text
> Hi, I use 'use strict;' in my programs all the time with Getopt::Declare > and don't have any trouble. Can you please include code that shows what > you are trying to achieve?
Ah, never mind, I see my problem. I failed to single-quote my here-doc, so the parser was attempting to interpolate the vars too early. Sorry for the noise.
Thanks for letting us know. Don't hesitate to report future issues you encounter.


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.