Creating a new table

CREATE will create a table with the given definition, which will be completely empty until you insert rows into it.

use cPanelUserConfig;

use strict;
use warnings;
use XBase; # We want the basic XBase handling modules

print "Content-type: text/html\n\n";

print "Start! <br>";

my $newtable = XBase->create("name" => "test3.dbf",
"field_names" => [ "ID", "MSG" ],
"field_types" => [ "N", "C" ],
"field_lengths" => [ 6, 40 ],
"field_decimals" => [ 0, undef ]);

print "End!";

Save the code to the file, say,

Hi, I'm Siswoyo. 

Programmer, System Analyst, System Analyst and Developer, SAP Coordinator, Application Support Analyst, Technical Analyst, Field Service Engineer,  ...