Query: filter::template::usebytes
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Filter::Template::UseBytes(3pm) User Contributed Perl Documentation Filter::Template::UseBytes(3pm)NAMEFilter::Template::UseBytes - conditionally use bytes.pm depending on availabilitySYNOPSISuse Filter::Template ( isa => "Filter::Template::UseBytes" ); print "Phi length in characters: ", length(chr(0x618)), " "; {% use_bytes %} print "Phi length in bytes: ", length(chr(0x618)), " ";DESCRIPTIONThe 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.BUGSAll the caveats of Filter::Template apply here.SEE ALSOFilter::Template. AUTHOR & COPYRIGHT Filter::Template::UseBytes is Copyright 2000-2006 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. perl v5.10.1 2010-03-08 Filter::Template::UseBytes(3pm)