XP is just a number | |
PerlMonks |
Command line perl 'compile'by CodeHound (Beadle) |
on Jul 08, 2002 at 15:59 UTC ( [id://180207]=perlquestion: print w/replies, xml ) | Need Help?? |
CodeHound has asked for the wisdom of the Perl Monks concerning the following question:
I think this is truly a newbie question, but I am forced to ask, since could not find what I need neither here or in the internet (searching for command line, perl and such). Please can someone tell me if it is possible to give perl a "program, line by line" from the command line with activeperl? I run perl on a win2k PC. I know one can go into perl shell, type the lines and go CTRL+Z, but I'd like something like:
NOTE: if you are new to perl inline compile, typing perl into the command line (when perl exe is in your system path) executes the shell, from where you can type perl code and execute it after you press CTRL+Z followed by returnAm I asking something possible, or I am simply in delirium? I hope I have been clear in my request. Thanks everybody.
Back to
Seekers of Perl Wisdom
|
|