Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
in my test_one.pl and print the results. When I run the program the results on the browser is the code itself from test_two and not the execution of it. Is it possible and does anyone know how it can be done? Thnaks!open(XX,"<test_two.pl"); my @test=<XX>; close(XX); my $xxx=join("",@test); print $xxx;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Open a .pl file form a .pl file
by kabel (Chaplain) on Sep 18, 2002 at 15:51 UTC | |
|
Re: Open a .pl file form a .pl file
by Abstraction (Friar) on Sep 18, 2002 at 15:50 UTC | |
|
Re: Open a .pl file form a .pl file
by Molt (Chaplain) on Sep 18, 2002 at 15:52 UTC | |
by tlhf (Scribe) on Sep 19, 2002 at 00:13 UTC | |
|
Re: Open a .pl file form a .pl file
by Dog and Pony (Priest) on Sep 18, 2002 at 16:15 UTC | |
|
Re: Open a .pl file form a .pl file
by BrowserUk (Patriarch) on Sep 18, 2002 at 16:16 UTC | |
|
Re: Open a .pl file form a .pl file (use do)
by Flexx (Pilgrim) on Sep 18, 2002 at 16:17 UTC | |
|
Re: Open a .pl file form a .pl file
by krujos (Curate) on Sep 18, 2002 at 15:57 UTC |