in reply to
[untitled node, ID 192588]
How about:
require "/home/samn/cgi-bin/$page.rs";
[download]
Comment on
Re: executing code in a file
Download
Code
Replies are listed 'Best First'.
Re: Re: executing code in a file
by
tantarbobus
(Hermit)
on Aug 24, 2002 at 21:42 UTC
That probably will not work because, IIRC, require will only execute the code the first time :)
[reply]
In Section
Seekers of Perl Wisdom