| Server IP : 164.138.27.172 / Your IP : 216.73.216.143 Web Server : nginx/1.27.4 System : Linux cookingdream 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : www-adm ( 1001) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /home/jonasn/.cpan/build/YAML-1.30-0/t/ |
Upload File : |
use strict;
use lib -e 't' ? 't' : 'test';
use Test::More;
BEGIN {
unless ( qr/x/ =~ /\(\?\^/ ){
plan skip_all => "test only for perls v5.13.5-11-gfb85c04 or later";
}
}
use TestYAML tests => 1;
no_diff();
run_roundtrip_nyn('dumper');
__DATA__
===
+++ no_round_trip
Since we don't use eval for regexp reconstitution any more (for safety
sake) this test doesn't roundtrip even though the values are equivalent.
+++ perl
[qr{bozo$}i]
+++ yaml
---
- !!perl/regexp (?^i:bozo$)