1611 shaares
17 private links
17 private links
6 results
tagged
path
perldoc -l Module
(flycheck-define-checker perl-project-libs
"A perl syntax checker."
:command ("perl"
"-MProject::Libs lib_dirs => [qw(local/lib/perl5)]"
"-wc"
source-inplace)
:error-patterns ((error line-start
(minimal-match (message))
" at " (file-name) " line " line
(or "." (and ", " (zero-or-more not-newline)))
line-end))
:modes (cperl-mode))
(add-hook 'cperl-mode-hook
(lambda ()
(flycheck-mode t)
(setq flycheck-checker 'perl-project-libs)))
'(flycheck-perl-include-path
(quote
("your path to your perl libraries")))
'(flycheck-perl-executable "path to your perl executable")
The protocol is available as req.protocol. docs here
var fullUrl = req.protocol + '://' + req.get('host') + req.originalUrl;
By using above example, you can get full page URL.
<Route path="/:path(path1|path2)" component={MyComp} />