Here's a sample Perl program that demonstrates how you can include (embed) data inside of your Perl program, right in there next to the source code.
This simple program takes the data after the special __END__ tag, and makes it available to your Perl source code.
#!/usr/bin/perl
while (<main::DATA>)
{
print $_;
}
__END__
George Washington
Abraham Lincoln
John F. Kennedy
As you can see, you loop through the data with this line of code: