X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=notes%2Fsrs_notes.txt;fp=notes%2Fsrs_notes.txt;h=525d64a74517e9ccc056d756e4326e8d9d24ecef;hb=09baddbd49de087e08177d20594c9d313b542949;hp=7b3e6c3023ff0ddc36491e0da6d99c4a4ea76741;hpb=56f74ebb051e474ced234286cd79303f3e9cd14c;p=urisagit%2FStem.git diff --git a/notes/srs_notes.txt b/notes/srs_notes.txt index 7b3e6c3..525d64a 100644 --- a/notes/srs_notes.txt +++ b/notes/srs_notes.txt @@ -4,3 +4,15 @@ Odd sort of behavior... when dumping \%:: with Data::Dumper in Stem/Conf.pm the program just "freezes"... + +# A simple script to (naievely) figure out the non-core dependencies in Stem: +# this for example, looks for anything not core in perl 5.008001 + +egrep -hR '^use ' ./lib/ | + sed 's/[^a-zA-Z0-9_: ]//' | + egrep -v 'use (Stem|[0-9]+)' | + sort -u | + cut -d ' ' -f 2 | + perl -MModule::CoreList -M5.010 \ + -ne 'chomp; say unless exists $Module::CoreList::version{"5.008001"}{$_}' +