Query: netsds::util::fileimport
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
NetSDS::Util::FileImport(3pm) User Contributed Perl Documentation NetSDS::Util::FileImport(3pm)NAMENetSDS::Util::FileImport - import table structure from fileSYNOPSISDESCRIPTIONCLASS APIimport_table() - import table data from file takes $content of a file, $pre_parse (true or false it means: return all table or only 5 first rows params it could be patterns => { qr#name#i => { qr#last#i => 'last_name', qr#first#i => 'first_name' } } separator => could be ,; : 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, ... } .. ] perl v5.12.4 2011-08-27 NetSDS::Util::FileImport(3pm)