carwynmoore / perl-nats

A Perl client for the NATS messaging system
MIT License
12 stars 6 forks source link

Missing scope for $SSL_ERROR #7

Closed pangyre closed 5 years ago

pangyre commented 5 years ago

Without the change, I get–

perl -MIO::Socket -MNet::NATS::Client -E '' Global symbol "$SSL_ERROR" requires explicit package name at … perl5/lib/perl5/Net/NATS/Connection.pm line 45. Compilation failed in require at … lib/perl5/Net/NATS/Client.pm line 27. BEGIN failed--compilation aborted at … perl5/lib/perl5/Net/NATS/Client.pm line 27. Compilation failed in require. BEGIN failed--compilation aborted.

Thanks for looking!