in reply to Re: Error Checking: Have you tried 'Try/Catch'?
in thread Error Checking: Have you tried 'Try/Catch'?
So, presumably, the same thing would apply to the parsing of curly braces, in theory:Func($x) -> &Func($x) OK Func ($x) -> 'Func' ($x) !?!?
I discovered this trying to eliminate the requirement for 'my ($self) = @_' having to be in every function for an OO program by writing a wrapper which did it for you. For whatever reason, you can't operate on a named sub. Oh well.foo $bar{$baz} -> &foo($bar{$baz}) foo $bar {$baz} -> &foo($bar,sub {$baz})
|
|---|