Explains how to install dependencies more accurately
@@ -8,10 +8,22 @@ The software is licensed under the MIT License.
How to build
---
+Install dependencies first:
+
+```
+# If you use system perl, use --sudo
+% curl -sL https://cpanmin.us | perl - --sudo --self-upgrade
+% cpanm --installdeps --notest --sudo .
+
+# Otherwise, you'd better omit --sudo
+% curl -sL https://cpanmin.us | perl - --self-upgrade
+% cpanm --installdeps --notest .
+```
+
+Then, build this project.
+
```
% git submodule update --init --recursive
-% curl -sL https://cpanmin.us | perl - --self-upgrade # add --sudo if needed
-% cpanm --installdeps --notest . # --sudo if needed
% cmake .
% make
% make check
