My previous message should read ".say for" instead of "say for". Sorry
On Sat, May 24, 2025 at 6:28 AM Clifton Wood wrote:
> Just for fun, here's a similar one-liner using File::Find and PDF::Class:
>
> # Formatted for clarity;
> use File::Find;
> use PDF::Class; .
> say for find( dir => ".", na
Just for fun, here's a similar one-liner using File::Find and PDF::Class:
# Formatted for clarity;
use File::Find;
use PDF::Class; .
say for find( dir => ".", name => *.ends-with(".pdf") ).map(
sub ($_) {
CATCH { default { return 0 } };
say "Checking { .absolute }...";
PDF::Class.ope
On 5/24/25 2:40 AM, Peter Pentchev wrote:
On Fri, May 23, 2025 at 05:44:01PM -0700, ToddAndMargo via perl6-users wrote:
Hi All,
https://github.com/tony-o/raku-toml
In the usage parsing example:
Parsing TOML
use TOML;
my $config = from-toml("config.toml".IO.slurp);
# use $c
On Fri, May 23, 2025 at 05:44:01PM -0700, ToddAndMargo via perl6-users wrote:
> Hi All,
>
> https://github.com/tony-o/raku-toml
>
> In the usage parsing example:
>
> Parsing TOML
> use TOML;
> my $config = from-toml("config.toml".IO.slurp);
> # use $config like any ol' hash
>
>
Thanks, Sean!
Do any of the various `PDF` modules work to solve your page-counting quest?
I'll have to play around with your code a bit. Normally I would use `.dir(test
=> /:i \.pdf / )` to pull out PDF files.
The closest U&L answer posted for your issue might be:
https://unix.stackexchange.c