in reply to Re: Old Code reference wants new life as Object.
in thread Old Code reference wants new life as Object.

Thanks this works perfectly.

I was orignally attempting to do this with just { } thinking a anon-sub would work. Guess I forgot to run the sub.
--

Even smart people are dumb in most things...
  • Comment on Re^2: Old Code reference wants new life as Object.

Replies are listed 'Best First'.
Re^3: Old Code reference wants new life as Object.
by ikegami (Patriarch) on Dec 09, 2006 at 02:03 UTC

    { ... } creates an anonymous hash.
    sub { ... } creates an anonymous sub. It doesn't execute the sub.