Perl scripts use ENV variables to store data

Today I learned that quries are sent to perl scripts thorugh environment variables. For example, the part of the URL past the ? is stored in the QUERY_STRING environment variable and can be accessed like this…
$ENV{'QUERY_STRING'}

Leave a Reply

Your email address will not be published.