Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I actually found ActiveState and ppm to be fairly useful when I was doing cross system Perl around the same time. You could get the same ActiveState versions for Linux and Windows and have a more consistent environment. In the few cases ppm didn't have what I needed, I would just use a CPAN client. Pretty sure I even got the CPAN client compiling some libs for windows (which took a bit of work, but wasn't impossible).

I even used that setup to package a couple Perl scripts with all their modules into PAR archive executables, circa 2011 I think.

> Regarding Perl's one liners, I feel they are what makes Perl very useful, but my preference is AWK over Perl for that.

I love the ability to pull in a CPAN module or two to really kick up a one-liner a notch without making it too long. Also, I like creating an alias to perl that loads up a few useful libs and the main project lib and putting it in the project path so I can use a one liner like a REPL and run small queries, reports, or even do complex DB queries/updates with it using DBIx::Class and all the helper methods I've created for this project's schema.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: