File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ and remove all the unnecessary tests for the detection of the MIME types we are
3030See the [ Install] ( #install ) section for more details on the requirements of our tools.
3131### CLI
3232
33- With our ` CLI tool ` , you can quickly create a minimal magic file called ` mini_magic ` containing
33+ With our [ CLI tool] ( bin ) , you can quickly create a minimal magic file called ` mini_magic ` containing
3434only the necessary tests to detect ` application/pdf ` and ` application/x-executable ` from the magic
3535files located at ` Magdir ` :
3636
@@ -56,7 +56,7 @@ For more details on the CLI capabilities and options use the flag `--help`.
5656
5757### Perl module
5858
59- We also provide a ` perl module ` called ` MiniMagic ` . You can achieve the same
59+ We also provide a [ perl module] ( lib ) called ` MiniMagic ` . You can achieve the same
6060result as the CLI tool with the following code snippet:
6161
6262``` perl
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ use v5.28;
1818use warnings;
1919
2020use FindBin qw( $Bin) ;
21- use lib " $Bin /lib" ;
21+ use lib " $Bin /../ lib" ;
2222use Getopt::Long qw( :config posix_default no_ignore_case) ;
2323use MiniMagic;
2424use Log::Any qw( $log) ;
You can’t perform that action at this time.
0 commit comments