#!/bin/bash # List all the perl modules currently installed. perl -MCPAN - <expand("Module","/./")){ next unless \$mod->inst_file; print \$mod->id, "\n"; } EOF