good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: Difference between a perl script & shell scriptby revdiablo (Prior) |
on Dec 19, 2005 at 18:12 UTC ( [id://517835]=note: print w/replies, xml ) | Need Help?? |
That's not interactive, that's taking the source code via STDIN. There's a difference, namely in that interactive means you run one command, get the return value. Run another, get another return value. This is commonly known as REPL, or a Read Eval Print Loop. You can make one in Perl:
But it's not quite as fully featured as most interactive shells.
In Section
Seekers of Perl Wisdom
|
|