Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Doubts of a perl beginner on PERLEMBEDby jithoosin (Scribe) |
on Dec 19, 2005 at 06:10 UTC ( [id://517664]=note: print w/replies, xml ) | Need Help?? |
Hi , Sorry for disturbing you again. As I had to call subroutine named "test" in file 'file1.pl i used char *my_argv[] = {"","-e","require 'file1.pl';require 'file2.pl';" } and then used call_argv("test",G_DISCARD,args); But i am getting error Undefined subroutine &main::test called.What could be the reason UPDATE : The error was not shown when i included "perl_run" after perl_parse.What could be the possible reason?
In Section
Seekers of Perl Wisdom
|
|