Timothy Johnson wrote:
And you can't do this?
alias pcalc='perl ~/pcalc.pl'
No. With alias, I can create an alias file that works with sh (and ksh,
bash) and csh (and tcsh). This would be dot'ed in your .profile as:
. ~/.alias
or source'd in your .cshrc as:
source ~/.alias
If you want the same as a script:
mv ~/pcalc.pl ~/bin/pcalc
BTW, out here in the real world (that would be UNIX), *.pl stands for
Perl Library file, not a script.
--
Just my 0.00000002 million dollars worth,
--- Shawn
"For the things we have to learn before we can do them,
we learn by doing them."
Aristotle
"The man who sets out to carry a cat by its tail learns something that
will always be useful and which will never grow dim or doubtful."
Mark Twain
"Believe in the Divine, but paddle away from the rocks."
Hindu Proverb
* Perl tutorials at http://perlmonks.org/?node=Tutorials
* A searchable perldoc is at http://perldoc.perl.org/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>