in reply to DBD::Sybase - I'm having trouble installing it

I don't know anything about Sybase in particular, so I won't try to talk about that aspect of your problem. update: but see below However, in general...

If you want to be able to easily install things off of CPAN, you may be happier with cygwin instead of, or in addition to, ActiveState's Perl distribution. ActiveState mostly just gives you Perl, with some Win32-specific extra parts. This is useful, and it's what a lot of people want, and it integrates well with Windows, but CPAN tends to like a little bit more in the way of a unix-oriented environment. cygwin OTOH is not just Perl, but an entire POSIX-style environment. As such, it includes things like gcc, make, wget, and so on and so forth, and as a result CPAN.pm will feel more at home.

update: Having wandered over to search.cpan.org and had a brief look at DBD::Sybase, it looks sortof as though possibly it might potentially be pure Perl; if that is the case, you can install just by tossing the Sybase.pm file in a directory called DBD within the correct directory (i.e., in @INC someplace). But I could be jumping to confusions.


$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/

Replies are listed 'Best First'.
Re: Re: DBD::Sybase - I'm having trouble installing it
by Lori713 (Pilgrim) on Sep 24, 2003 at 20:18 UTC
    I tried your suggestion. I put the Sybase.pm file in the DBD directory. But, my script still couldn't find it. There was also a Sybase subdirectory underneath that, and I tried copying the Sybase.pm file in there too, just to see if that would work... but nope... I'll keep digging. Thanks!

      Well, like I said, I don't really know that much about the Sybase module. I haven't, like, you know, actually used it or anything, personally. I was basically guessing, from a quick glance-over, that it might have been pure Perl. It may also be that it isn't, in which case just copying won't work.


      $;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/