Can a PHP script unserialize a stored file created using Perl?
No, but you can unload PHP-readable data from Perl using PHP :: Serialization . You can also choose something more standard, for example, YAML or JSON. Almost any language can understand them.
JSON lingua-franca , JSON:: XS Perl ( C/++) , ( PHP) JSON .
PHP, Turing-complete , "" " - ".
, Storable, YAML ( JSON), . , YAML ( JSON):
$output_format = 'YAML'; popen( "perl -MStorable -M${output_format}::Syck=Dump -e 'print Dump( retrieve( q{$storable_file_path} ))'", "r" );
Source: https://habr.com/ru/post/1703565/More articles:Как заказать свойства в алфавитном порядке (Visual Studio 2008) - .netBest data type for storing a list of strings? - listHow to draw a 3D border using visual styles? - c #.NET library for merging files - .netSvn and accented characters - svnPlatform Independent Parallel Programming Libraries for C ++ - c ++What is a good built-in browser for a pygtk application? - pythonEncoding IMAP folder path (IMAP UTF-7) for .NET? - c #TreeView intercepts focus Ctrl + Click - winformsHow do you follow DRY with code with xy coords? - dryAll Articles