This proposal has two parts, the per-file explicit compile hints and the per-function explicit compile hints. The per-file part is currently enabled in default in Chromium-based browsers. The ...
use File::LibMagic; my $magic = File::LibMagic->new; my $info = $magic->info_from_filename('path/to/file'); # Prints a description like "ASCII text" print $info ...