Help with Perl 6 script

2019-08-08 Thread Rui Fernandes
Greetings I have this Perl 6 script from Rosetta, which I wanted to run on Perl 5 (due to the Active Sate Perl and App version that I have). However, several syntax errors appear given the difference (some) in language.Here's the script: --- # Simple Vector implementation multi infix:<+>(@a, @b)

Re: Open and perl sub

2019-08-08 Thread Shlomi Fish
Hi Mike, On Thu, 8 Aug 2019 15:40:42 +0100 Mike Martin via beginners wrote: > Is it possible to have the output of a perl module piped to open (open3 in > my case), so I can use a file handle contains the output passed to sysread > > Odd question I know > you can use https://en.wikipedia.org/

Open and perl sub

2019-08-08 Thread Mike Martin via beginners
Is it possible to have the output of a perl module piped to open (open3 in my case), so I can use a file handle contains the output passed to sysread Odd question I know Thanks

Re: Install Problems: Net::Google::Spreadsheets

2019-08-08 Thread James Kerwin
Hi Mike, Thank you very much for the offer, but somebody over at PerlMonks jumped on it and managed to explain the problem and how to overcome it. I'm all installed now. Just the fun of writing the actual script... Here's a link to the solution/work around for anybody curious or stuck in a simil

AI::PredictionClient question

2019-08-08 Thread Eliza
Hello, Is this module still be maintained actively? https://metacpan.org/pod/AI::PredictionClient I saw the last version was released on 2017. And there is the Inception client sample there, if I want to request a different CNN model, how to build the client? thanks & regards, Eliza C. -- T

Re: how to catch die in a module

2019-08-08 Thread Shlomi Fish
Hi, On Thu, 8 Aug 2019 08:21:24 +0530 Chankey Pathak wrote: > You can create a signal handler for die and handle the exception in there. > Refer https://users.cs.cf.ac.uk/Dave.Marshall/PERL/node116.html > Also see block eval - https://perldoc.pl/functions/eval - or one of its wrappers like htt