XString(3pm) - phpMan

Command: man perldoc info search(apropos)  


XString(3pm)                   User Contributed Perl Documentation                   XString(3pm)

NAME
       XString - Isolated String helpers from B

VERSION
       version 0.002

SYNOPSIS
        #!perl

        use strict;
        use warnings;

        use Test::More;

        use XString;
        use B;

        is XString::cstring( q[a'string"with quotes] ), B::cstring( q[a'string"with quotes] ), q["a'string\"with quotes"];
        is XString::perlstring( q[a'string"with quotes] ), B::perlstring( q[a'string"with quotes] ), q["a'string\"with quotes"];

        done_testing;

DESCRIPTION
       XString provides the B string helpers in one isolated package.  Right now only cstring and
       perlstring are available.

FUNCTIONS
   cstring(STR)
       Similar to B::cstring; Returns a double-quote-surrounded escaped version of STR which can
       be used as a string in C source code.

   perlstring(STR)
       Similar to B::perlstring; Returns a double-quote-surrounded escaped version of STR which
       can be used as a string in Perl source code.

AUTHOR
       Nicolas R <atoomic AT cpan.org>

COPYRIGHT AND LICENSE
       This software is copyright (c) 2018 by cPanel, Inc.

       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.30.0                                2019-12-10                               XString(3pm)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-06-06 08:39 @18.188.64.66 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!