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

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

Serving Software Downloads in 976 Categories, Downloaded 29.549.548 Times

CGI::Enurl 1.07

  Date Added: April 13, 2010  |  Visits: 649

CGI::Enurl

Report Broken Link
Printer Friendly Version


Product Homepage
Download (73 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  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  CGI::Out 2006.0215
CGI::Out is a Perl module to buffer output when building CGI programs. SYNOPSIS use CGI; use CGI::Out; $query = new CGI; savequery $query; # to reconstruct input $CGI::Out::mailto = fred; # override default of $ out...
4.1 KB  
Libraries  -  CGI::Builder::Magic 1.31
CGI::Builder::Magic Perl module contains CGI::Builder and Template::Magic integration. SYNOPSIS # just include it in your build use CGI::Builder qw| CGI::Builder::Magic |;.
15.36 KB  
Libraries  -  CGI::FormBuilder 3.0501
CGI::FormBuilder is a Perl module to easily generate and process stateful forms. SYNOPSIS use CGI::FormBuilder; # Assume we did a DBI query to get existing values my $dbval = $sth->fetchrow_hashref; # First create our form my $form =...
163.84 KB  
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 KB  
Libraries  -  perlfaq3 5.8.8
perlfaq3 Perl module contains programming tools. How do I do (anything)? Have you looked at CPAN (see perlfaq2)? The chances are that someone has already written a module that can solve your problem. Have you read the appropriate manpages?...
12.2 MB  
Libraries  -  Syntax::Highlight::Perl 1.0
Syntax::Highlight::Perl is a Perl module that can highlight Perl Syntactical Structures. SYNOPSIS # simple procedural use Syntax::Highlight::Perl :BASIC; # or :FULL print format_string($my_string); # OO use Syntax::Highlight::Perl; my...
33.79 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
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  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB