Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.328.052 Times

CGI::Enurl 1.07

  Date Added: April 13, 2010  |  Visits: 961

CGI::Enurl

Report Broken Link
Printer Friendly Version


Product Homepage
Download (94 downloads)



CGI::Enurl.pm is a Perl module for URL-encoding strings and hashes. SYNOPSIS use CGI::Enurl; %hash = (name=>Jenda Krynicky,address=>Nerudova 1016); print "Location: http://$ENV{SERVER_NAME}/cgi-bin/do.pl?",enurl %hash,"nn"; This is a little module made for CGI scripting. It encodes the parameters to be passed to a CGI. It does nothing more, so its much smaller and loads more quickly. Functions enurl STRING enurl ARRAY enurl HASH Encodes the parameter. If the parameter is a single string it encodes it and returns the encoded form. If it is an array or a reference to an array it encodes all items and returns them joined by &. If it is a hash it encodes the values and return a querystring in form "key2=encoded_value1&key2=encoded_value2&...". !!! Please note that a hash in a list context returns a list of all keys and values. This means that if you call enurl(%hash) you will NOT get what you may thing you should. You HAVE to use enurl(%hash) !!! enURL STRING Encodes the parameter, this version doesnt encode = and & characters, so you should make sure they are not present in the data. Notice the difference : enurl a&b=f o o => a%26b%3Df+o+o enURL a&b=f o o => a&b=f+o+o $CGI::Enurl::ParamSeparator You may specify another character to be used as the parameter separator. Simply set this variable to the character (or string) you want to use. The default value is & $CGI::Enurl::KeepUnencoded This variable contains the characters that should stay unencoded. Please keep in mind that the string will be interpolated into a regexp in a [^...] group! Any change of this variable will be ignored after the first call to enurl or enURL. (Im using /o switch in the regexp.) So if you want to change the variable you should do it as soon as posible. You may do that even before you "use" the module! The default value is a-zA-Z 0-9_-@.=.

Requirements: No special requirements
Platforms: Linux
Keyword: Cgi Cgienurl Encodes Libraries Module Perl Module Programming String Strings Url-encoding Variable
Users rating: 0/10

License: Freeware Size: 4.1 KB
USER REVIEWS
More Reviews or Write Review


CGI::ENURL RELATED
Libraries  -  CGI::Application::Generator 1.0
CGI::Application::Generator is a Perl module with dynamically build CGI::Application modules. SYNOPSIS use CGI::Application::Generator; # Required methods my $cat = CGI::Application::Generator->new();...
14.34 KB  
Libraries  -  CGI::WeT::Theme 0.71
CGI::WeT::Theme is a Perl module with theme loader for the CGI::WeT package. SYNOPSIS use CGI::WeT::Theme (); This module provides a well-defined interface between the rendering engine and the theme definition loaders. It is designed to work...
40.96 KB  
Libraries  -  CGI::Ex::Conf 2.06
CGI::Ex::Conf is a Perl module with Conf Reader/Writer for many different data format types. SYNOPSIS use CGI::Ex::Conf qw(conf_read conf_write); my $hash = conf_read("/tmp/foo.yaml"); conf_write("/tmp/foo.yaml", {key1 => $val1, key2 =>...
215.04 KB  
Libraries  -  CGI::WeT::Modules::Calendar 0.71
CGI::WeT::Modules::Calendar are Perl extensions to engine to allow calendar management. SYNOPSIS use CGI::WeT::Modules::Calendar (); This module provides rendering constructs to allow navigation through a set of calendars. Support is...
40.96 KB  
Libraries  -  Test::Data 1.20
Test::Data is a Perl module to test functions for particular variable types. SYNOPSIS use Test::Data qw(Scalar Array Hash Function); Test::Data provides utility functions to check properties and values of data and variables. Functions...
8.19 KB  
Libraries  -  CGI::WeT::Modules::News 0.71
CGI::WeT::Modules::News are Perl extensions to engine to allow article management. SYNOPSIS use CGI::WeT::Modules::News (); This module provides rendering constructs to allow navigation through a set of articles. Support is provided for...
40.96 KB  
Libraries  -  Convert::EBCDIC 0.06
Convert::EBCDIC, ascii2ebcdic, ebcdic2ascii is a Perl module for string conversion between EBCDIC and ASCII. SYNOPSIS use Convert::EBCDIC; $ascii_string = ebcdic2ascii($ebcdic_string); $ebcdic_string = ascci2ebcdic($ascii_string);...
5.12 KB  
Libraries  -  Convert::Translit 1.03
Convert::Translit, transliterate, build_substitutes is a Perl module for string conversion among numerous character sets. SYNOPSIS use Convert::Translit; $translator = new Convert::Translit($result_chset); $translator = new...
79.87 KB  
Libraries  -  Test::Differences 0.47
Test::Differences Perl module contains test strings and data structures and show differences if not ok. SYNOPSIS use Test; ## Or use Test::More use Test::Differences; eq_or_diff $got, "anbncn", "testing strings"; eq_or_diff @got, [qw( a b...
8.19 KB  
Libraries  -  CGI::FastTemplate 1.09
CGI::FastTemplate is a Perl extension for managing templates, and performing variable interpolation. SYNOPSIS use CGI::FastTemplate; $tpl = new CGI::FastTemplate(); $tpl = new CGI::FastTemplate("/path/to/templates");...
13.31 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB