Re: use Strict and using module

2009-11-04 Thread Uri Guttman
> "PR" == Phil Regulski writes: PR> That took care of it. Didn't realize it was a sub in the module. Thanks! regardless of it being a sub, it was in a place that expected a normal value and not a bareword. you can use classnames as barewords in certain places (use, method calls, etc.) but

Re: use Strict and using module

2009-11-04 Thread Phil Regulski
That took care of it. Didn't realize it was a sub in the module. Thanks! Shawn H Corey wrote: Phil Regulski wrote: Error: "Bareword "NetCDF::READ" not allowed while "strict subs" in use..." What is NetCDF::READ, a subroutine? my $ncid = NetCDF::open("${netcdfDir}/REORDER.KATX_

Re: use Strict and using module

2009-11-04 Thread Shawn H Corey
Phil Regulski wrote: > Error: > "Bareword "NetCDF::READ" not allowed while "strict subs" in use..." > What is NetCDF::READ, a subroutine? > my $ncid = > NetCDF::open("${netcdfDir}/REORDER.KATX_20091104_1651.CEDRIC.Z1.BIN.nc",NetCDF::READ); If it's a sub, try: my $ncid = NetCDF::open("${netcdf