#!/usr/bin/perl -w use strict; use IPC::Open2; # This quick script will run the native find-requires (first parameter) # and then strip out packages we don't want listed. open2(\*IN, \*OUT, @ARGV); print OUT while (); close(OUT); my $list = join('', ); # Apply my filter(s): $list =~ s/^.*JSONC.*//mg; print $list;