How to Dump Data Out of SPI
- 1). Open the code editor.
- 2). Create a new master protocol in which you want to dump data by inputting the following code:
use Data::Dump qw(dump); Data::Dump::Filtered::add_dump_filter(
sub { return undef;
}
); - 3). Determine which data you want to dump by inputting the following code (in which X is the starting record and Y is the ending record bracketing the range of the data dump):
$str = dump(@list);
@eval $str; if ($_[0]->class eq "Math::FixedPrecision") {
return {dump => "$_[1]"}; X records in
Y records out. - 4). Create a backup file in case you have to perform the data dump again.
Source...