Get the current page url in perl

Hello,

I find similar commands in libraries like WWW :: Mechanize, LWP :: Simple, URI etc. but I cannot use these libraries in ssi.

How can I get url text with perl in ssi.

I want to do;

my $url == includes(), indexOf() etc.
if ($url == "localhost") {
.....
}
else {
.....
}

Best

Resolved
6 replies