Chris Pax wrote:
you see here what i want to happen. what I am doing is writing a new
function to the callbacks file, then I want to import the file.

the real code fallows the same logic. i tested the read and write
stuff, and it works. but when I do it this way, it does not.

I had a similar situation with python. the solution was to a function
call reload. I would import the module and do a reload(modname). that
solve my problem in python. I wonder if there is a similar function in
perl.



May I ask what does this function do?  The reason why is that there is almost 
always a better way that try to compile at runtime.

But to do it your way, see `perldoc -f do`.


--
Just my 0.00000002 million dollars worth,
 Shawn

"For the things we have to learn before we can do them, we learn by doing them."
 Aristotle

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to