Skip Menu |

This queue is for tickets about the PDL-IO-HDF5 CPAN distribution.

Report information
The Basics
Id: 113414
Status: new
Priority: 0/
Queue: PDL-IO-HDF5

People
Owner: Nobody in particular
Requestors: danield [...] igb.illinois.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: values not returning properly
Date: Mon, 28 Mar 2016 17:08:44 -0500
To: bug-PDL-IO-HDF5 [...] rt.cpan.org
From: Daniel Davidson <danield [...] igb.illinois.edu>
Using hdf5/1.8.11 When I try to write and then retrieve a value it is always returned as 1: Example: use PDL::IO::HDF5; $newfile = new PDL::IO::HDF5("test.hdf"); $test=$newfile->group("/perid"); $test->attrSet('color' => 'blue'); print "Color was ".$test->attrGet('color')."\n"; Returns: Color was 1 I can successfully read through any attributes I set though through $test->attrs. If I am doing something wrong, please let me know. PS There is also a typo in the synopsis: |$existingFile||->attSet(||'AttrName'| |=> ||'AttrValue'||); ||# Set attribute value(s) for file should be:| |$existingFile||->attrSet(||'AttrName'| |=> ||'AttrValue'||); ||# Set attribute value(s) for file|