Giter VIP home page Giter VIP logo

perl-advent's Introduction

Perl Advent Calendar

The Perl Advent Calendar is a series of articles that run from December 1 to 25 each year.

Authors

Raise an issue suggesting your topic.

Fork the repo and start a new article. The script will prompt you for a few things and will create a new file for you under YEAR/incoming/.

$ perl script/new_article

Edit your article, and test it as you work:

$ perl t/article_pod.t 2023/incoming/your-article.pod

When you are satisfied, create a pull request. You can keep working on the article and pushing updates to your fork; the pull request will automatically see the updates.

The website

1. Build root files

To create some root files from archives.yaml:

  • archives.html - list of advent calendars
  • archives-AZ.html - list of modules
  • archives-Yd.html - list of articles

Execute the following script:

$ perl mkarchives .

2. Build all (recent) advent calendars

cpm install -g WWW::AdventCalendar App::HTTPThis

Then build all recent calendars

$ for year in $(seq 2011 2023); do cd $year && advcal -c advent.ini -o `pwd` && cd ..; done

3. Test (locally)

Start HTTP webserver in one line:

$ http_this --autoindex .

You can visit http://127.0.0.1:7007/

perl-advent's People

Contributors

2shortplanks avatar rjbs avatar thibaultduponchelle avatar oalders avatar openstrike avatar jj avatar eruci avatar briandfoy avatar choroba avatar rajarengabashyam avatar autarch avatar simbabque avatar hackman avatar zakame avatar freyfogle avatar yanick avatar karenetheridge avatar bbrtj avatar jeteve avatar sergeyromanov avatar perlancar avatar perlpunk avatar atcroft avatar kaoru avatar drhyde avatar jadeallenx avatar patch avatar mjdominus avatar jjatria avatar davorg avatar

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.