I'm not sure why I'm being warned about wide characters. If I use utf8; and $path1->lines_utf8;, am I not projecting my intent?
Not fully: The utf8 pragma tells Perl that your source file is encoded in UTF-8 (nothing else), and ->lines_utf8 reads the file as a UTF-8 encoded file. The thing missing here is the output: your STDOUT is not set up to output Unicode. Try adding the open pragma: use open qw/:std :utf8/;
As for your formatting questions, I'm not entirely sure I understand - is your output fixed-width, like in a terminal or <pre> tags, or is it HTML?
In reply to Re: using Path::Tiny and reformating result
by haukex
in thread using Path::Tiny and reformating result
by Aldebaran
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |