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
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?
>
>
> Thank you,
>
> Christopher Haak
> ZedX Inc.
See any or all of the following:
The file "perl/test.pl" in the source distribution.
The file "perl/udunitsperl.1" in the source distribution.
The URL <http://www.unidata.ucar.edu/cgi-bin/man-cgi?udunitsperl>.
Regards,
Steve Emmerson <http://www.unidata.ucar.edu>