You are discarding the results of the formatting operation. Instead, store them as indicated in the synopsis:
$formatted = autoformat $formatted;
HTH
Update: link fix
In reply to Re: Module Text::Autoformat not working
by hippo
in thread Module Text::Autoformat not working; perlbrew not installing
by marek1703
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |