Skip Menu |

This queue is for tickets about the Crypt-DSA CPAN distribution.

Report information
The Basics
Id: 19263
Status: new
Priority: 0/
Queue: Crypt-DSA

People
Owner: Nobody in particular
Requestors: mike.bristow [...] thus.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.14
Fixed in: (no value)



Subject: which usage broken on (at least) solaris
The usage of which in Crypt::DSA::KeyChain is broken. On solaris (with a path set up to not include openssl), then the code: my $openssl = `which openssl`; chomp $openssl; will produce: : michaelb@do ~/workspace; perl my $openssl = `which openssl`; chomp $openssl; print "'$openssl'\n"; 'no openssl in /usr/bin /usr/sbin' : michaelb@do ~/workspace; which means that The Wrong Thing is done. It is probably better to just run openssl, and test the value of $? to see if it worked.