Algorithm-KMeans
view release on metacpan or search on metacpan
examples/cleanup_directory.pl view on Meta::CPAN
#!/usr/bin/perl -w
# There should be no need to call this script ordinarily.
# When the Algorithm::KMeans module creates new cluster files,
# it automatically delete all previously created such files.
# Such files are named ClusterX.dat for X starting with X = 0.
# The files __temp_* are created by the visualization script.
# However, when the program terminates properly, it should
# automatically delete those files.
unlink glob "cluster*.dat";
unlink glob "__temp_*";
( run in 1.093 second using v1.01-cache-2.11-cpan-e1769b4cff6 )