[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

950920: one more thing...



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>