• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux Text::Header Download

Text::Header

July 29, 2009
The RFC 822/2068 header and unheader functions are designed for data manipulation services in software development. They allow developers to manage and edit user-defined header sections within data packets, and remove headers to streamline data transmissions.
Version 1.03
License GPL
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by Nate Wiger
I recently tried out Text::Header, a Perl module that provides two new functions, header and unheader, which allow for RFC 822 header construction and parsing. While not specifically tailored for HTTP, the module provides a straightforward toolset for parsing headers.

One of the features I appreciated was the module's similarity to popular interfaces like CGI.pm and HTTP::Headers. The headers function automatically performs three key functions: 1) changing the first letter of each tag token to uppercase and converting any underscores to hyphens, 2) adding a colon and a newline after each tag-value pair, and 3) combining list elements with commas for clarity.

To use the module, all that's needed is to call 'use Text::Header;' and both header and unheader are automatically imported. Then, to initiate a header construction, the header function can be called with named parameters. In one example from the documentation, the following parameters create an array of headers:

@HEADERS = header(
content_type => 'text/html',
author => 'Nathan Wiger',
last_modified => $date,
accept => [qw(text/html text/plain)]
);

In addition to the default HTTP-style headers, the module can format SMTP headers as well. For example:

@mail_headers = header(
from => 'Nathan Wiger',
to => '[email protected]'
);
print $MAIL @mail_headers, " Keep up the great work! ";

Overall, Text::Header is a reliable, efficient module that delivers on its promises for easy and accurate header parsing.
What's New

Version 1.03: N/A

Free Download 4.6K
396
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    157
  2. Dvgrab 3.4
    94
  3. DynVPN 1.0
    83
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    76
  6. porm r2
    72
  7. Clewarecontrol 0.8
    71
  8. Hills 2.0
    71
  9. fuseftp 0.8
    70
  10. Java Games 1.0
    70

Related Downloads

gbitly-applet
The gbitly-applet is a GNOME panel applet designed to create short URLs ...
Play ISO image with Xine
"Play ISO with Xine" is a KDE 4 service menu that enables ...
Tie::Syslog
This software enables the user to tie a filehandle to Syslog, making ...
LAMPcheck
LAMPcheck is an easy-to-use PHP pre-installation script, available as an open source ...
satfs
SATFS is a FUSE-powered file system that permits the organization of MPEG2 ...
HAC4Linux
HAC4Linux is a software tool that is designed to work with different ...
SQLsyslogd
SQLsyslogd is a C# tool enabling syslog-ng to transfer logging data to ...
check_nagios_latency
Check_Nagios_Latency is a Nagios plugin designed to assess the latency of the ...
RocXshop
RocXshop is an effective and portable digital audio workstation designed to cater ...
Waterlike theme
GNOME theme with water-inspired design elements for a refreshing look and feel.
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.