NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Rorik, >Date: Fri, 5 Apr 2002 13:04:04 -0900 >From: Rorik Peterson <address@hidden> >Organization: ? >To: address@hidden >Subject: getatt in netcdf-perl >Keywords: 200204052202.g35M2Ma14647 The above message contained the following: > I am new to the perl interface for netCDF and I'm using the test.pl > script in the distribution to learn from. I want to get a variable's > attribute that is a string. I only see a way to get it as an ASCII > array. Currently I loop through the array with perl's chr to fix it, > but there must be a better way. What am I missing? Transcript follow. I'm afraid that there is no better way than what you are doing. Regards, Steve Emmerson <http://www.unidata.ucar.edu>