GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PERLIO::UTIL::JA (3)

.ds Aq ’

NAME

PerlIO::Util::JA - PerlIOXXXXXXXXXXXXXX

CONTENTS

VERSION

This document describes PerlIO::Util version 0.72

SYNOPSIS



    use PerlIO::Util;

    # utility layers

    open $in, +<:flock, $file; # with flock(IN, LOCK_EX)

    open $in, +<:creat :excl, $file; # with O_CREAT | O_EXCL

    open $out, >:tee, $file, \$scalar, \*STDERR;
    print $out "foo"; # print to $file, $scalar and *STDERR

    # utility routines

    $in = PerlIO::Util->open(<, $file); # it dies on fail

    *STDOUT->push_layer(scalar => \$scalar); # it dies on fail
    print "foo";

    print *STDOUT->pop_layer(); # => scalar
    print $scalar; # => foo



DESCRIPTION

PerlIO::UtilXPerlIOXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX

XXXXXXXXXXXPerlIO::UtilXXXXXXXXXXXXuse PerlIO::Util XXXXXXXXXPerlIOXXXXXXXXXXXXXXXXXXXXX

UTILITY LAYERS

    :flock

flock()XXXXXXXXXXXXXXXXXXXXX

See PerlIO::flock.

    :creat

FcntlXXXXXXO_CREATXXXXXX

See PerlIO::creat.

    :excl

FcntlXXXXXXO_EXCLXXXXXX

See PerlIO::excl.

    :tee

XXXXXXXXXXXXXXXXXXXXXX

See PerlIO::tee.

    :dir

PerlIOXXXXXXXXXXXXXXXXXXX

XXXXXXXXXXXXXXXXXXXXXXXXXXX :encodeingXXXPerlIOXXXXXXXXXX

See PerlIO::dir.

    :reverse

XXXXXXXXXXX

XXXXXXXXXXXreverse()XXXXXXXXX XXXXXXXXXXXXseek()XXXXXXXXXXXXXXX

See PerlIO::reverse.

    :fse

XXXXXXXXXXXXXXXXXXXX

XXXXXXXXXXXPerlXXXXXXXXXXXXXXX EncodeXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXWindowsXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXPERLIO_FSEXXXXXXXuse PerlIO::fseXXXXXXXXXXXXXXXXXXXXXXXXX

XXXXXXXXXX0.70XXXXXXXXXXXXXXX

See PerlIO::fse.

UTILITY METHODS

PerlIO::Util->open(mode, args)

XXXXXXXXopen()XXXXXXIO::HandleXXXXXXXXXX open()XXXXXXXXXXXXXXXX

PerlXopen()XXXXXXXIO::FileXnew()XXXXXXXmodeX XXXXXXXXXXXXXXXXXIO::FileXnew()XXXXXXXXXXXXXXX<B>3-arg openB>XXXXXXXXXXXXXXXXXXXXXIO::FileXnew()XXXXX

    PerlIO::Util->known_layers( )

XXXXXPerlIOXXXXXXXXXX

FILEHANDLE->get_layers( )

FILEHANDLEXPerlIOXXXXXXXXXX XXXPerlIO::get_layers(FILEHANDLE)XXXXXXX

See Querying the layers of filehandles in PerlIO.

FILEHANDLE->push_layer(layer [ => arg])

binmode(FILEHANDLE, :layer(arg))XXXXXXXXargXXXX XXXXXXXXXXXXXX:scalarXXXXXXXXXXXXXXXXXXXXXXXX

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXFILEHANDLEXXXX

FILEHANDLE->pop_layer( )

binmode(FILEHANDLE, :pop)XXXXXXXXFILEHANDLEXXXXX XXXXXXXXXXXX:utf8X:flockXXXXXXXXXXXXXXXXXXXXXXX

XXXXXXXXXXXXXXXXXXXXXXXXX

DEPENDENCIES

Perl 5.8.1 or later, and a C compiler.

BUGS

No bugs have been reported.

Please report any bugs or feature requests to <gfuji (at) cpan.org>, or through the web interface at <http://rt.cpan.org/>.

SEE ALSO

PerlIO::flock, PerlIO::creat, PerlIO::excl, PerlIO::tee, PerlIO::dir, PerlIO::reverse, PerlIO::fse.

PerlIO for push_layer() and pop_layer().

perliol for implementation details.

open in perlfunc.

perlopentut.

AUTHOR

Goro Fuji (X XX) <gfuji(at)cpan.org>.

LICENSE AND COPYRIGHT

Copyright (c) 2008-2010, Goro Fuji <gfuji(at)cpan.org>. Some rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PERLIO::UTIL::JA (3) 2011-05-25

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.