>>>>> "PR" == Phil Regulski <regul...@atmos.washington.edu> 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 not when regular values are
expected. in this case the docs of the module probably mentioned a code
ref is needed and you need the \& prefix to make a class sub name into a
code ref.

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to