Skip to main content



I have a Perl script that takes several hours to run, I need to know when it's done, but I sometimes forget to keep checking.

It's running on Strawberry in Windows Server 2019. How easy would it be to write another script to send an email? I could run them as a batch I'm thinking.

I'm very weak at programming, I really only dabble.

submitted by /u/Hydraulis
[link] [comments]



It's gotta be me, but I'm at a loss. Installing with cpan: I can build XML::LibXML (lots of warnings) but the test suite refuses to run cleanly, staring with errors:

t/02parse.t ........................................ 1/533

# Failed test 'error parsing <!DOCTYPE X SYSTEM "example/ext\_ent.dtd">

# <X>\&foo;</X>

# '

# at t/02parse.t line 887.

# got: ''

# expected: anything else

# Looks like you failed 1 test of 533.`

and then getting worse from there.

I've installed the module on other Macs including other Intel boxes.

I've re-installed MacPorts (which is what I used to install LibXML2 and all the other prereqs).

I've built from source - same experience. Build succeeds, tests all fail.

I'm trying to figure out how to run the tests individually to see what's going on in better detail, but if anyone has seen and solved this funky issue of getting XML::LibXML to build and run cleanly on Mac OSX, please -I'd love to hear it. Everything else builds/tests/installs fine. reports does show some failed Mac builds.

submitted by /u/OS2REXX
[link] [comments]



submitted by /u/oalders
[link] [comments]


I have a Mac M1 chip laptop.

While I have managed to install a couple of modules, most fail to install.

I tried perlbrew, but that was a struggle to even get it to install perl itself, but when it was installed it wasn't working the way I needed it to.

Just wondering if I am missing something with CPAN or if this is an issue because it's an M1 chip?

submitted by /u/MrCosgrove2
[link] [comments]



The final installment in the series:

"The-Quest-For-Performance" from my blog Killing It with #perl

Discussing #python #numpy #numba, #rstats #openMP enhancements of Perl code and #simd

Bottom line: I will not be migrating to Python anytime soon.

Food for thought: The Perl interpreter (and many of the modules) are deep down massive C programs. Perhaps one can squeeze real performance kicks by looking into alternative compilers, compiler flags and pragmas ?

https://chrisarg.github.io/Killing-It-with-PERL/2024/07/09/The-Quest-For-Performance-Part-IV-May-the-SIMD-Force-Be-With-You.html

submitted by /u/ReplacementSlight413
[link] [comments]