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
Filter::Template::UseBytes(3) User Contributed Perl Documentation Filter::Template::UseBytes(3)

Filter::Template::UseBytes - conditionally use bytes.pm depending on availability

version 1.043

        use Filter::Template ( isa => "Filter::Template::UseBytes" );

        print "Phi length in characters: ", length(chr(0x618)), "\n";
        {% use_bytes %}
        print "Phi length in bytes: ", length(chr(0x618)), "\n";

The UseBytes template evaluates to "use bytes;" if Perl 5.005_55 or later is running. Otherwise it evaluates to an empty string, which does nothing but doesn't throw an exception either.

All the caveats of Filter::Template apply here.

Filter::Template.

Filter::Template::UseBytes is Copyright 2000-2013 Rocco Caputo. All rights reserved. Filter::Template::UseBytes is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

Filter::Template::UseBytes was previously known as POE::Macro::UseBytes.

2013-08-12 perl v5.32.1

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

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