Tie::UrlEncoder

Tie::UrlEncoder is a Perl module for interpolatably URL-encode strings.
Download

Tie::UrlEncoder Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • David Nicol
  • Publisher web site:
  • http://search.cpan.org/~davidnico/TipJar-MTA-0.21/MTA.pm

Tie::UrlEncoder Tags


Tie::UrlEncoder Description

Tie::UrlEncoder is a Perl module for interpolatably URL-encode strings. Tie::UrlEncoder is a Perl module for interpolatably URL-encode strings.Syntactic sugar for URL-Encoding strings. Tie::UrlEncoder imports a tied hash %urlencode into your package, which delivers a RFC 1738 URL Encoded string of whatever is given to it, for easy embedding of URL-Encoded strings into doublequoted templates.SYNOPSOZAMPLE our %urlencode; # make use strict happy use Tie::UrlEncoder 0.01; # import ties %urlencode ... print "To add $id to your list, click here:n"; print "http://listmonger.example.com/listadd?id=$urlencode{$id}n";No longer must you clutter up your CGI program with endless repetitions of line noise code that performs this tricky function. Simply use Tie::UrlEncoder and you instantly get a magic %urlencode hash that gives you an Url Encoded version of the key: $urlencode{$WhatYouWantToEncode} is ready to interpolate in double-quoted literals without messy intermediate variables. Requirements: · Perl


Tie::UrlEncoder Related Software