This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Greg, In the above message you wrote: > Subject: one more thing... > From: Trail <address@hidden> > Organization: University of California, San Diego > Keywords: 199509202121.AA24096 > > My NetCDF::attget still crashes after I installed V 1.0.4, while everything > else works fine. > > I have NetCDF v. 2.3 and Perl 5.001m. > > The line that crashes is: > > NetCDF::attget($ncid,$varid,"source_file",$source); > > All the arguments are correct. The variable which holds the returned value\ > ($source) doesn't have to be initialized somehow, like in the C interface, > does it? Try using a perl reference for the `source' variable: NetCDF::attget($ncid,$varid,"source_file",\$source); -------- Steve Emmerson <address@hidden>