Giter VIP home page Giter VIP logo

Comments (6)

drgrice1 avatar drgrice1 commented on August 30, 2024

In my opinion this is not an issue. That is actually what is expected by Perl POD. Any of the POD directives (lines that start with =) should have and empty line before and after them.

This is caused because I removed the newline from the eval call. You will need to take your pick of what is more important. Do you want errors and warning reported at the correct line number in the macro file, or do you want this to work? In my opinion, this behavior is not important (particularly since it is invalid POD in any case).

from pg.

drgrice1 avatar drgrice1 commented on August 30, 2024

Note also that if you run perltidy on a Perl file that starts with a POD directive with no empty line before it (like =head), then it will add an empty line. You should run perltidy on your macro files anyway.

from pg.

somiaj avatar somiaj commented on August 30, 2024

I'm okay with this not being a real issue due to I'm using invalid POD. I just had multiple macros stop working for me that did work in 2.18 because I didn't realize there had to be a new line and it took me a while to figure out what the actual problem was with the macro files (the errors were strange but didn't actually point me to the issue with the POD). I may not be the only person who has custom macro files like this that may break in the upgrade from 2.18.

from pg.

dlglin avatar dlglin commented on August 30, 2024

I added a note to the release notes.

from pg.

drgrice1 avatar drgrice1 commented on August 30, 2024

Note that with pull request #962 the macro will compile, but a warning will be emitted.

from pg.

somiaj avatar somiaj commented on August 30, 2024

Fixed with #962.

from pg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.