M
max
How to get some data from TXT file and run it in Perl code?
Eg. In Txt file named "data.txt" I have
Eg. In Txt file named "data.txt" I have
max said:How to get some data from TXT file and run it in Perl code?
Eg. In Txt file named "data.txt" I have
------------------------------------
$name="Piter";
$phone="095445566-555";
$a=$b+$c;
An alternative to the suggesed 'require' is 'do' if you're justmax said:How to get some data from TXT file and run it in Perl code?
Eg. In Txt file named "data.txt" I have
------------------------------------
$name="Piter";
$phone="095445566-555";
$a=$b+$c;
max said:How to get some data from TXT file and run it in Perl code?
hemis said:Had rexx this property or what, where you could load a module or just any
piece of code from text file onto memory and run it?
It would be cool. Can I do that in perl?!
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.