Re: problem running Convert::ASN1 on Windows XP
- From: Ben Morrow <ben@xxxxxxxxxxxx>
- Date: Sun, 24 May 2009 16:57:33 +0100
Quoth yawnmoth <terra1024@xxxxxxxxx>:
I installed ActivePerl on Windows and placed the contents of the lib
directory in <http://search.cpan.org/~gbarr/Convert-ASN1-0.22/lib/
Convert/ASN1.pod> into a local folder.
This is a bad idea. Either install Convert::ASN1 using PPM, or install
Strawberry Perl instead of ActivePerl and use CPAN.
I then created a file -
test.pl - whose contents are identical to those at <http://
search.cpan.org/~gbarr/Convert-ASN1-0.22/lib/Convert/
ASN1.pod#SYNOPSYS> and... I get the following error when I try to run
"perl test.pl":
7 string
Can't use an undefined value as a symbol reference at Convert/ASN1/
IO.pm line 73.
That code is just an example. You're not meant to run it directly,
you're meant to read it, understand it, and learn from it. In
particular, it uses variables like $sock and $fh without setting them
up: the implication is that $sock should be a socket handle, but you
have to make that happen yourself.
Ben
.
- Follow-Ups:
- Re: problem running Convert::ASN1 on Windows XP
- From: A. Sinan Unur
- Re: problem running Convert::ASN1 on Windows XP
- References:
- problem running Convert::ASN1 on Windows XP
- From: yawnmoth
- problem running Convert::ASN1 on Windows XP
- Prev by Date: Re: edit array in place
- Next by Date: Re: problem running Convert::ASN1 on Windows XP
- Previous by thread: problem running Convert::ASN1 on Windows XP
- Next by thread: Re: problem running Convert::ASN1 on Windows XP
- Index(es):
Relevant Pages
|