[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Cleaning up my code?
Hi group,
In the Interchange project that I'm working on, the pages that I'm working on
are starting to contain lots and lots of Perl code, to the point where
finding back a particular piece of code takes a lot of scrolling in the file.
I'd like to move some subroutines to external files. Unfortunately 'use' and
'require' are disabled by default by IC's 'safe' mode. Also, a 'sub' defined
in one perl block is out of scope to the next one. Thus, using the 'include'
tag does not seem to be very useful.
Does anyone have similar issues? What have you done about it?
Regards,
Marc Brevoort