in reply to Migrating scripts back to Perl 5.005_03

$func_ref($var);

How is that supposed to work in 5.6? Whatever I try, all I get is a syntax error.

Abigail

Replies are listed 'Best First'.
Re: Re: Migrating scripts back to Perl 5.005_03
by autarch (Hermit) on Sep 06, 2003 at 01:43 UTC
    He's a little off there. I think he meant this: $ref->{key}($var) That does work in 5.6+, but not 5.00503. Doh, I hadn't read merlyn's reply before I wrote this!