Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Using Set::Object - evidently I need compiled code?
I'd like to have sets of references (I'm from Java; I'm a Set guy).  I
understand that you cannot use a reference as a hash key, and that it
gets stringified if you try.   So, to make my Set object, I've been
hashing the reference to itself (or more properly, hashing the
stringification to the reference).

I would like to not reinvent the wheel, however, and have found
Set::Object.  But it doesn't work when I try to 'use Set::Object',
claiming it can't find something (even though the module is in the
path).  The doc for Set::Object refers to XS code, which I gather is
lower-level C stuff.  Do I need to link to a DLL or Shared Object or
something?  Or worse yet, build it?  BTW, I'd like this to run on both
XP and Linux.

Thanks, and sorry for the elementary question.

Dave

Report this thread to moderator Post Follow-up to this message
Old Post
Dave Stallard
04-01-08 09:03 AM


Re: Using Set::Object - evidently I need compiled code?
Dave Stallard <stallard@nospam.net> wrote:

> I would like to not reinvent the wheel, however, and have found
> Set::Object.  But it doesn't work when I try to 'use Set::Object',
> claiming it can't find something

Why didn't you post the "claim" (message) you got?

--
John

http://johnbokma.com/perl/

Report this thread to moderator Post Follow-up to this message
Old Post
John Bokma
04-01-08 09:03 AM


Re: Using Set::Object - evidently I need compiled code?
John Bokma wrote:
> Dave Stallard <stallard@nospam.net> wrote:
> 
>
> Why didn't you post the "claim" (message) you got?

Hmm, why not indeed.  Here it is:

perl test-set.pl
Can't locate loadable object for module Set::Object in @INC (@INC
contains: C:/Program Files/Perl/site/lib C:/Program Files/Perl/lib .) at
test-set.pl line 4
Compilation failed in require at test-set.pl line 4.
BEGIN failed--compilation aborted at test-set.pl line 4.

Report this thread to moderator Post Follow-up to this message
Old Post
Dave Stallard
04-02-08 03:01 AM



Hot amateur videos
http://amateur-video-sharing.com/watch?v=218571

Report this thread to moderator Post Follow-up to this message
Old Post
Thrailkiller
04-08-08 04:59 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Language archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:27 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.