use v5.40 ; use IO::Async::Loop; use Net::Async::WebSocket::Client; my $client = Net::Async::WebSocket::Client->new( on_text_frame => sub( $self, $frame ) { print $frame ; }, ); my $loop = IO::Async::Loop->new; $loop->add( $client ); $client->connect( url => "wss://ntfy.sh/perl/ws" )->get ; $loop->run;
submitted by /u/ktown007
[link] [comments]
Can one explain why perl is not as admired or desired as bash?
submitted by /u/ReplacementSlight413
[link] [comments]
https://preview.redd.it/6xs5lg07oned1.png?width=1135&format=png&auto=webp&s=86ff7dd499dc6d008de944fd699c9a52f9b7785b I am trying to run a POST call in perl, using UserAgent with the agent set as curl, This Perl throws this error. Do you guys have any idea on how to resolve this? I have only one installation of Perl. submitted by /u/alistair_0111 |
Hello,
Running CPAN behind a corporate proxy, it's not trusting the certs. The certs are installed on the machine so web browsing to https://cpan.org/r/perl/.rss works fine, but how can I modify the CPAN trust store to also trust these certs? I need to install a chain.
This is the error:
HTTP::Tiny failed with an internal error: SSL connection failed for
cpan.org
: SSL connect attempt failed error:0A000086:SSL routines::certificate verify failed
Thanks!
submitted by /u/L1onH3art_
[link] [comments]
I haven't been able to use the site in the last week or so. If it loads at all, it shows a Timeout Error after 30 seconds instead. Is it broken, and how long has it been this way?
submitted by /u/greg_kennedy
[link] [comments]