Test::BDD::Cucumber::Util - Some functions used throughout the code
version 0.04
Some functions used throughout the code
bs_quote() "makes safe" strings with backslashed characters in it, so other operations can be done on them. bs_unquote goes the other way.
bs_quote()
bs_unquote
$string = "foo \<bar\> <baz>"; $string = bs_quote( $string ); $string =~ s/<([^>]+)>/"$1"/g; $string = bs_unquote( $string ); $string eq 'foo <bar> "baz"';
Peter Sergeant pete@clueball.com
pete@clueball.com
Copyright 2011, Peter Sergeant; Licensed under the same terms as Perl
To install Test::BDD::Cucumber, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::BDD::Cucumber
CPAN shell
perl -MCPAN -e shell install Test::BDD::Cucumber
For more information on module installation, please visit the detailed CPAN module installation guide.