Greets,
Just thought I'd follow up with everyone on the problem I was having.
Thanks for everyone's helpful responses.
As it turns out, there is a problem with the perl script I'm piping to.
When I run it from my home directory (./myscript < sample_message) it
works fine, but when I try to run it from any other directory, it reports
that it can't find the module it uses (both the main script and the module
reside directly under my home directory). So now I have to figure out how
to get the script to "see" the included module (using the "use module"
syntax). I've tried appendeding "-IP path/to/my/module" to the "#!" line
in the perl script, but that appears to cause the perl interpreter to try
and compile the "sample_message" when I run "./myscript < sample_message."
So I suppose the simple question I'm asking is where do I need to put
modules in relation to the main script that uses them in order for them to
be seen universally (from wherever they're ran) so that they will be
included properly? Like I said, both the script and the module currently
live in the same directory, my $home.
Of course I understand this isn't a Perl list, but I thought It
would be nice to provide those who were trying to help me with an update
of the problem (and ask more questions, lol). Thanks again for
the help.
Regards,
Shane
-------------------------------------------------------------------------
Shane M. Fisher
Student Intern, Administrative Computing Services,
Western Washington University
EMail: fishers(_at_)admcs(_dot_)wwu(_dot_)edu Ext:3362
-------------------------------------------------------------------------