ActiveState PerlNET
am 24.10.2007 01:05:01 von tonyshirtI'm trying to build a .Net dll that I can call from VBA from some
perl. I've fiddled around with the PerlNet application and docs and I
just cant seem to get it to work. Here is the object I'm trying to
convert:
package SNPutils;
#Constructor
sub new
{
my($package) = @_;
return bless {}, $package;
}
sub rComp
{
my $self = shift;
my $seq = shift;
my $reversed = "";
$reversed = reverse $seq;
$reversed =~ tr/ACTGRYMKBVDHactgrymkbvdh/TGCAYRKMVBHDtgcayrkmvbhd/;
#TGCAYRKMVBHDtgcayrkmvbhd
return $reversed;
}
1;
when I run perlNET it seems to work. I get no errors. When I try and
register the dll. I get "DLL registerserver entry point could not be
found." when I try and access the DLL through the references I get
"Cant add a reference to the specified file"
Could some one help me out here? I'm obviously doing something wrong
or I don't understand something critical.
Thanks! Tony!