in reply to Storable under Win XP?

I'm not sure whether you can store any PDL object via Storable at all - PDL has many parts written in XS (that is, C), which are invisible to Storable, and unless the PDL modules implement the appropriate Storable hooks, those C parts will remain invisible to Storable.

But then, I've never used PDL and not much of Storable, so it might be that the two are supposed to work together.

A different approach might be to use Data::Dumper instead, but that one will make the size of your data grow very large while dumping it.

Replies are listed 'Best First'.
Re^2: Storable under Win XP?
by FrankHaas (Initiate) on Jan 08, 2008 at 16:03 UTC
    Thanks,

    just realized I wasn't clear enough - I don't want to use PDL, just Storable but it looks as if Storable requires PDL, i.e. when I remove PDL and try it again I'm getting:

    D:\Frank\tdump>perl p1.pl Can't locate PDL.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/l +ib .) at ..\..\lib\Storable.pm (autosplit into ..\..\lib\auto\Storabl +e\_retrieve.al) line 380. BEGIN failed--compilation aborted, at p1access.pm line 60

    Thanks again!

    Regards

    Frank

      No... I think the file you're trying to load using Storable requires PDL. Storable works fine without PDL all by itself.

      Try to save a data structure you created yourself, first, and load that.