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.
Christopher, > To: address@hidden > From: Christopher Haak <address@hidden> > Subject: Using udunitsperl > Organization: UCAR/Unidata > Keywords: 200211141924.gAEJOFL22721 The above message contained the following: > I have read the perl extension documentation and I am confused as to how to > first define a unit. Do you specify your starting unit with the line, > "$unit = UDUNITS::new()"? If so, how is it used? I'm on vacation, so my answer will be brief. Try looking at the "test.pl" file in the "perl/" subdirectory for examples. Regards, Steve Emmerson <http://www.unidata.ucar.edu>