may be this should into publish.pl ?

sub create_RESERVE_file { grep -E "package|our" | sort | uniq > RESERVE }