Comments (9)
@HackOrQuack thanks a lot for mentioning this -- I believe the difference in the line numbers is because the installed version of the files will have a few extra lines of text added to them thanks to DZIL -- If you compare the first few lines you'll see some extra info about the installed version that looks like this:
BEGIN {
$App::DuckPAN::Web::AUTHORITY = 'cpan:DDG';
}
# ABSTRACT: Webserver for duckpan server
$App::DuckPAN::Web::VERSION = '0.137';
Btw, what version of Perl are you using? We test with 5.10, 5.14 and 5.16 and we use 5.16 regularly. I'm not seeing that warning but it does look like using keys
on references was introduced in 5.14 -- I'll switch to 5.14 and see what happens...
from p5-app-duckpan.
Nothing with 5.14, or 5.18, trying 5.21...
from p5-app-duckpan.
I'm using perl 5.20.0-5 it's the latest version available from the arch repositories.
from p5-app-duckpan.
Couldn't replicate with 5.21 either, I'll try 5.20 now... not that it should matter, but are you running this in the Goodie or Spice repo?
from p5-app-duckpan.
I'm running it with the Spice repo.
from p5-app-duckpan.
Perl 5.20 now shows a warning for this and it looks like we have to fix it. See https://metacpan.org/source/RJBS/perl-5.20.0/pod/perldiag.pod#L2708 for the documentation.
Some projects have started to fix it, too: https://github.com/taunger/Config-Source/blob/master/Changes#L9
from p5-app-duckpan.
It's now treated as a severe warning (S) A severe warning (enabled by default).
from p5-app-duckpan.
@jagtalon thanks for finding that -- really odd that it didn't occur in 5.21, I didn't get around to testing 5.20 but will try and confirm, then fix
from p5-app-duckpan.
Made a PR ^, should be good now :). Thanks again for reporting this @HackOrQuack
from p5-app-duckpan.
Related Issues (20)
- Incorrect detection of Instant Answer files
- Cheat Sheets not displaying on DuckPAN Server HOT 2
- Cannot install DuckPAN: Failed to install dep Class-Accessor-Classy HOT 4
- DuckPAN should warn about, or not follow redirects for API calls (to mimic our NGINX)
- Replace use of File::ShareDir::ProjectDistDir HOT 1
- Usage of Moose HOT 4
- Move templates into DuckPAN HOT 1
- Allow updating metadata through DuckPAN HOT 4
- Mimic caching on query and server
- Underscores in new cheat sheets HOT 2
- Cheat sheet template wizard should use hyphens HOT 1
- IA wizard error message should say what characters are valid
- Installing DuckPAN fails at DDG-1006 (OSX perl v5.24.0) HOT 4
- Fathead support: Non-matching queries return last match HOT 2
- Add Related Topics to FatHead server
- "duckpan new --template cheatsheet" should use dashes for filename, not underscores HOT 3
- Add support for FatHead Categories
- IA's are untestable until PR is made HOT 9
- problem first time running duckpan server on fathead on Codio HOT 3
- Test a new goodie HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from p5-app-duckpan.