in reply to Re: How to read code from file and execute it in loop ?
in thread How to read code from file and execute it in loop ?

Hi,

thanks for response. It seems interesting, can you please help with some simple example ?

Thanks in advance, regards, bulek.

  • Comment on Re^2: How to read code from file and execute it in loop ?

Replies are listed 'Best First'.
Re^3: How to read code from file and execute it in loop ?
by ikegami (Patriarch) on Jan 06, 2010 at 02:06 UTC
    # MyModule.pm package MyModule; sub mysub { print("Hello World\n"); } 1;
    use MyModule; MyModule::mysub() for 1..10;