Mo language utilities.
Changes for 0.05 - 2024-03-23T18:45:21+01:00
- Add check_language_639_1() and check_language_639_2() checks.
- Fix output of example in doc.
Invoke a callback on every element at every level of a data structure.
Changes for 0.01 - 2024-03-23T13:04:03-04:00
- First release upon an unsuspecting world.
An effort to make creating and using custom web components easier
Changes for 0.07 - 2024-03-23T16:52:32Z
- updates to better handle reverse proxy installations where generated urls were not being handled correctly
Plugin for Dancer2 web app to send and query jobs in different job schedulers
Changes for 0.005 - 2024-03-23T17:27:33+01:00
- Remove unused sub and commented code
- Fix hash assignment
Generic Module to inherit from
Changes for v0.35.2 - 2024-03-22T14:13:24Z
- Minor corrections to unit tests
find, build and install the hmmer3 tools
Changes for 0.02 - 2024-03-21T23:16:26-06:00
- fixed documentation errors
Fork Based Promise with Asynchronous Execution, Async, Await and Shared Data
Changes for v0.4.9 - 2024-03-22T14:04:36Z
- Minor correction of untrapped condition
A SQL Database object abstraction class
Changes for v1.2.1 - 2024-03-22T13:52:05Z
- Correction of unit test to better handle non-existing DBD modules
A SQL Database object abstraction class
Changes for v1.2.0 - 2024-03-22T12:12:11Z
- Improvement to DB::Object::Query, DB::Object::Postgres::Query and DB::Object::Query::Element
Check at build/release time if modules are out of date
Changes for 0.060 - 2024-03-21T17:39:03Z
- fix experimental warnings on earlier perls
submitted by /u/oalders [link] [comments] |
Hotel hotspot hijinks
Ever been staying at a hotel and gotten annoyed that you always have to open a browser to log in for wireless access? Yup, me too.Paul Cochrane (P.T.C.)
Plack search application.
Changes for 0.04 - 2024-03-21T14:13:15+01:00
- Add missing 'image_height' parameter description in doc.
- Add 'image_radius' parameter.
- Add 'name' attribute to search field.
Implementation of various techniques used in data compression.
Changes for 0.02 - 2024-03-21
- ADDITIONS
- CHANGES
ANSI sequence aware column command
Changes for 1.4101 - 2024-03-21T07:50:10Z
- make man page accurate
data pack for Business::ISBN
Changes for 20240321.001 - 2024-03-21T07:16:25Z
- Data update for 2024-03-21
Merges two users into the same effective user
Changes for 1.09 - 2024-03-20
- Do not try to load user from an empty email address
- Fix uninitialized warnings cased by undefined FIELD
- Only limit roles by id for valid users
IRS Form 1040 worksheets calculations
Changes for 0.05 - 2024-02-23T09:49:50Z
- In 0.04, pp_ssbw() wasn't doing any pretty-printing. Corrected.
- Like preceding versions, this version will probably not make it to CPAN, so I'm tagging it and pushing to GH
high-performance, selector-based, content-aware HTML template engine
Changes for 0.0901 - 2024-03-20
- fix a few typos in the documentation
- no functional changes
Mapping Perl releases on CPAN to the location of the tarballs
Changes for 5.20240321
- Change: df997bd0ee0776a18f93e9d599a6467d13cbc6d0 Author: Chris 'BinGOs' Williams <chris@bingosnet.co.uk> Date : 2024-03-20 16:34:34 +0000
what modules shipped with versions of perl
Changes for 5.20240320
- Updated for v5.39.9
Mapping Perl releases on CPAN to the location of the tarballs
Changes for 5.20240320
- Change: f7e0bee4932f14f630ebd92ea809f1924d2771bb Author: Chris 'BinGOs' Williams <chris@bingosnet.co.uk> Date : 2024-03-20 16:29:41 +0000
Problem- I have an apache application in which I am using mod_perl module. I want to log few things in a request lifecycle. I am able to do it across multiple files by calling get_logger("nameOfLogger"); and log to the hash that I am maintaining in my appender. But strangely there is one file in which when I call get_logger("nameOfLogger"); it no more has context of previous logs that I have captured before it in other files. What could be the possible cause. does this file needs to be in startup.pl ?
I would really appreciate the help and suggestions since I am stuck on this issue since a day
submitted by /u/FiredNeuron97
[link] [comments]
access GCC compiler builtin functions via XS
Changes for 0.03 - 2024-03-20
- Added more builtins. Added one test file for each builtin function supported. Created benchmarks comparing clz() XS vs PP. Enhanced documentation.
https://metacpan.org/recent is showing a reupload of perl-5.38.2 by user INGENICO.
submitted by /u/briang_
[link] [comments]
access GCC compiler builtin functions via XS
Changes for 0.01
- First version, released on an unsuspecting world.
Hey all!
As a recent graduate seeking a junior developer position, I received an invitation for a job interview which included a Perl coding exercise. How can i make my code better? Additionally, are there recommended best practices for documenting my progress on this exercise? I never programmed in perl, so bare with me. Thanks a lot!!
here's the task:
- read the data from a .csv file
- store data in one hash
- outputs the data as HTML, sorted by company and within the company by name
here is my code:
#!/usr/bin/perl use strict; use warnings; use Text::CSV; my $csv_file = 'Bewerbungstest.csv'; open(my $fh, '<', $csv_file) or die "Could not open file '$csv_file' $!"; my $csv = Text::CSV->new({ binary => 1 }) or die "Cannot use CSV: ".Text::CSV->error_diag(); $csv->header($fh); # Hash Wert my %data_hash; while (my $row = $csv->getline($fh)) { my $pid = $row->[0]; # PID as key my $company = $row->[1]; # Company name as key my $last_name = $row->[2]; # Employee last name my $first_name = $row->[3]; # Employee first name push @{$data_hash{$company}}, [$pid, $last_name, $first_name]; } close($fh); # Sort the company names alphabetically foreach my $company (sort keys %data_hash) { @{$data_hash{$company}} = sort {$a->[1] cmp $b->[1]} @{$data_hash{$company}}; } # HTML Output open(HTML, '>', 'output.html') or die "Could not open file: $!"; print HTML "<html>\n"; print HTML "<head>\n"; print HTML "<title>Employee List</title>\n"; print HTML "</head>\n"; print HTML "<body>\n"; print HTML "<h1>User Liste</h1>\n"; print HTML "<table border='1'>\n"; print HTML "<tr><th>PID</th><th>Company</th><th>Last Name</th><th>First Name</th>\n"; foreach my $company (sort keys %data_hash) { foreach my $entry (@{$data_hash{$company}}) { my ($pid, $last_name, $first_name,) = @$entry; print HTML "<tr>\n"; print HTML "<td>$pid</td>\n"; print HTML "<td>$company</td>\n"; print HTML "<td>$last_name</td>\n"; print HTML "<td>$first_name</td>\n"; print HTML "</tr>\n"; } } print HTML "</table>\n"; print HTML "</body>\n"; print HTML "</html>\n"; close(HTML); print "HTML file erfolgreich generiert\n";
submitted by /u/stayin_alive23
[link] [comments]
Data objects for login.
Changes for 0.02 - 2024-03-19T14:01:19+01:00
- Regen example file.
- Rewrite to new Data::HashType@0.04 with added 'valid_from' parameter.
Random hash type objects.
Changes for 0.03 - 2024-03-19T13:59:34+01:00
- Add support for Data::HashType@0.04.
find, build and install the bowtie2 tools
Changes for 0.01 - 2024-03-19T05:13:18-06:00
Data objects for hash type.
Changes for 0.04 - 2024-03-19T13:12:38+01:00
- API CHANGE: Add 'valid_from' and 'valid_to' parameters. 'active' parameter will be removed in future. And 'valid_from' will be required in future.
- Add DESCRIPTION section to doc.
An open source web-based network management tool.
Changes for 2.074000 - 2024-03-19
- NEW FEATURES
- BUG FIXES
I have inherited some perl scripts that I've generally been able to edit well enough with my knowledge from other languages, but I need to make a change that has me stumped.
The user wants the output that happens from this loop to be reversed.
for ($nn=0;$nn<=$range_max;$nn++) { my $range=sprintf("%02d",$nn); $sum_of_A += $A_EACH_RANGE{"$range"}; $sum_of_B += $B_EACH_RANGE{"$range"}; printf("\"\",\"%s\",\"%s\",\"%s\",\"%s\",\"%s\"\n", $scale[$nn], commify($A_EACH_RANGE{"$range"}), commify($B_EACH_RANGE{"$range"}), commify($sum_of_A), commify($sum_of_B)); }
So I figured all I had to do was start the for loop at the end like this:
for ($nn=$range_max;$nn>=0;$nn--) {
Then I realized there's some cumulative math going on in the loop, which means the sum of everything needs to be at the top now instead of the bottom.
Now I'm stuck, I've made a few attempts like pushing it into an array so I could have the option to output in forward or reverse, but all my attempts just hang with no warnings or errors.
I figure there's a more elegant solution but my Google-fu hasn't helped.
submitted by /u/wirikidor
[link] [comments]
Randal Schwartz is guest on Flosss Weekly 765, mostly for Dart, but he also talks quite a bit about Perl.
One of the interesting management of Dart is that they have people assigned to work shifts to triage and respond to issues so that requestors can get immediate feedback that at least someone saw their issue. I'll let him tell the rest of the story, but it's a good one.
submitted by /u/briandfoy
[link] [comments]
FLOSS Weekly Episode 765: That Ship Sailed… And Sank
This week Jonathan Bennett and Aaron Newcomb talk with Randal Schwartz, the longest running host of FLOSS Weekly, Perl’s biggest cheerleader, and now Dart and Flutter expert. What’s new…Hackaday
Hi,
I am using Template::Mustache in a prooted Debian in termux on Android.
It works fine, however it produces this annoying warning:
"Flock not available: 'Function not implemented': continuing in unsafe mode".
As far as I can see it ultimately comes from Path::Tiny when slurping a file.
I have tried to get rid of it with "no warnings" but that did not do the trick.
So how can I suppress this warning?
submitted by /u/ghiste
[link] [comments]