in reply to Re^3: How to Intercept Variable Access
in thread How to Intercept Variable Access
The real fun starts with local:
sub do_stuff { local $CD = tempdir(); croak "No Makefile found in $CD" unless -f 'Makefile'; croak "No .git directory in $CD" unless -d '.git'; ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to Intercept Variable Access
by LanX (Saint) on Sep 16, 2024 at 14:31 UTC |