• 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 IO::Simple Download

IO::Simple

August 26, 2009
This software enhances file handling by adding error checking and customized options for each file handle.
Version 0.04
License Perl Artistic License
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by Eric Hodges
IO::Simple is a Perl module that provides a simplified layer over IO::File. This layer causes files to open by default in read mode and will quit on failure when opening, closing or printing files. It also provides methods to set $, $/, $:, $^L and $, on a per handle basis, as well as a slurp function.

The SYNOPSIS of IO::Simple is straightforward. You can export the file method with the following code:

use IO::Simple ':all';

This module then provides options that allow for greater control over input and output handling. For example:

my $fh = file('test.txt', 'w');

This line of code will quit if the file cannot be opened. The following three lines will demonstrate the behavior when writing a line to test.txt:

$fh->say("This is a line");
$fh->print("This has no new line!!!");
$fh->close();

This module also provides the slurp function which allows the contents of a file to be read with a single call:

my $contents = file('test.txt')->slurp();

For those who prefer the class method, IO::Simple can also be used:

use IO::Simple;
my $fh = new IO::Simple('test.txt');

Overall, IO::Simple simplifies reading and writing to files in Perl, while still providing full control over file handling.
What's New

Version 0.04: N/A

Free Download 5.3K
367
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    155
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    92
  4. SlideMap 1.2.2
    82
  5. CherryTV 0.1
    81
  6. porm r2
    79
  7. Swiftfox 3.0b5pre-2
    77
  8. Java Games 1.0
    76
  9. Clewarecontrol 0.8
    75
  10. fuseftp 0.8
    74

Related Downloads

Xws
Xws is a multi-player server software that enables users to play Across ...
XKobo
XKobo is a high-speed scrolling shooter game with multiple levels, where players ...
Destiney Rated Images Script
Destiney Rated Images Script offers a script for rating images.
ogre4j
OGRE libraries can be implemented in Java applications for its benefits.
CastCluster
CastCluster offers a convenient platform to access more content on iTunes, iPod, ...
Monster Debugger
Debugging tools for Adobe Flash, AIR, and Flex help ensure accurate and ...
User::Identity::Archive::Plain
This software is a straightforward archiving tool that works exclusively with plain ...
bzr-java-lib
Bzr-java-lib is a Java library and client designed to interact with Bazaar ...
Smbldap-tools
Smbldap-tools is a Perl script collection that helps with the administration of ...
one.sh
The one.sh software is a script that locates and removes duplicate files ...
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.