NetSDS::Util::FileImport(3pm) | User Contributed Perl Documentation | NetSDS::Util::FileImport(3pm) |
NetSDS::Util::FileImport - import table structure from file
use NetSDS::Util::FileImport
params it could be patterns => { qr#name#i => { qr#last#i => 'last_name', qr#first#i => 'first_name' } } separator => could be ,;\t: fields => [ email last_name ] substitute => { E-mail => email, Last Name => last_name, .. }
Depends of a params parse would be different
Returns a structure like this [ { last_name => undef, first_name => yana, ... }, { last_name => kornienko, first_name => test, ... } .. ]
2019-02-22 | perl v5.28.1 |