On 20 Mar 2002, at 5:23pm, Scott Garman wrote:
> What is the command to list the perl modules I have installed?
I do not think there is an "easy" way to answer this question. When a
Perl program imports a Perl module, the Perl compiler/interpreter searches
for the module file in the directories listed in the @INC array (similar to
an executable $PATH search).
Here is a quick hack (emphasis hack) that may serve your needs:
perl -e 'foreach $dir (@INC) { system("ls -1 $dir/*pm"); }
> What is the address for the GNHLUG-announce list? I have Bradley Kuhn from
> the Free Software Foundation coming to UNH next week that I'd like to let
> folks know of.
echo "gnhlug dash announce at zk3 dot dec dot com" | \
perl -pe 's/dash/-/g; s/at/@/g; s/dot/./g; s/ //g;'
;-)
--
Ben Scott <[EMAIL PROTECTED]>
| The opinions expressed in this message are those of the author and do not |
| necessarily represent the views or policy of any other person, entity or |
| organization. All information is provided without warranty of any kind. |
*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************