Menu

#73 func.pm can 'use Package'

closed-accepted
nobody
None
5
2003-07-18
2003-07-16
No

I have significantly modified func.pm, with two
specific changes:

1) It can now use package qualifications, like the
following:

ds-source = "func:Cricket::load('fifteen')"

It includes a 'use Package' statement in the statement
being eval'ed, so there is no further work on the part
of the user. I think this significantly enhances the
functionality of this module, because otherwise the
user was either limited to using functions already
included or had to modify the collector script to use
another package.

2) The return of eval() is now checked, and if $@ is
set to a value, Warn is called and nothing is returned.
This makes much more sense, and should make it easier
for users to debug their func() code.

Discussion

  • Luke A. Kanies

    Luke A. Kanies - 2003-07-16

    Diff between the 1.0.3 version and the version i wrote

     
  • Jake Brutlag

    Jake Brutlag - 2003-07-18
    • status: open --> closed-accepted
     
  • Jake Brutlag

    Jake Brutlag - 2003-07-18

    Logged In: YES
    user_id=33737

    This patch will be in 1.0.4.

     

Log in to post a comment.