"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cpan/Scalar-List-Utils/t/isvstring.t" between
perl-5.32.0-RC0.tar.xz and perl-5.32.0-RC1.tar.xz

About: Perl (Practical Extraction and Report Language) is a high-level, general-purpose, interpreted, dynamic programming language. Release candidate.

isvstring.t  (perl-5.32.0-RC0.tar.xz):isvstring.t  (perl-5.32.0-RC1.tar.xz)
#!./perl #!./perl
use strict; use strict;
use warnings; use warnings;
$|=1; $|=1;
use Scalar::Util (); use Scalar::Util ();
use Test::More (grep { /isvstring/ } @Scalar::Util::EXPORT_FAIL) use Test::More (grep { /isvstring/ } @Scalar::Util::EXPORT_FAIL)
? (skip_all => 'isvstring requires XS version') ? (skip_all => 'isvstring requires XS version')
: (tests => 3); : (tests => 3);
Scalar::Util->import(qw[isvstring]); Scalar::Util->import(qw[isvstring]);
my $vs = ord("A") == 193 ? 241.75.240 : 49.46.48; my $vs = ord("A") == 193 ? 241.75.240 : 49.46.48;
ok( $vs == "1.0", 'dotted num'); ok( $vs == "1.0", 'dotted num');
ok( isvstring($vs), 'isvstring'); ok( isvstring($vs), 'isvstring');
my $sv = "1.0"; my $sv = "1.0";
ok( !isvstring($sv), 'not isvstring'); ok( !isvstring($sv), 'not isvstring');
 End of changes. 3 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)