Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
HTML::FormHandler::RenUser:Contributed Perl HTML::FormHandler::Render::Util(3)

NAME
       HTML::FormHandler::Render::Util - rendering utility

VERSION
       version 0.40067

SYNOPSIS
       The 'process_attrs' takes a hashref and creates an attribute string for
       constructing HTML.

	   my $attrs =>	{
	       some_attr => 1,
	       placeholder => 'Enter email...",
	       class =>	['help', 'special'],
	   };
	   my $string =	process_attrs($attrs);

       ...will produce:

	   ' some_attr="1" placeholder="Enter email..."	class="help special"'

       If an arrayref is empty,	it will	be skipped. For	a hash key of
       'javascript' only the value will	be appended (without '$key=""');

AUTHOR
       FormHandler Contributors	- see HTML::FormHandler

COPYRIGHT AND LICENSE
       This software is	copyright (c) 2016 by Gerda Shank.

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

perl v5.24.1			  2016-10-19HTML::FormHandler::Render::Util(3)

NAME | VERSION | SYNOPSIS | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=HTML::FormHandler::Render::Util&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help