So I have my Ruby-on-rails app that i successfully released to heroku. However to populate the database I have several perl scripts that basically sync up tables on local database with a remote database. 

On my development machine (on ec2) it works fine but I also have a lot of stuff i have installed on it over time.

When I try to run my scripts I get the following error (latest perl is installed by the way)

```
Can't locate DBI.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at copyStaff.pl line 4.
BEGIN failed--compilation aborted at copyStaff.pl line 4.

```

How do I install DBI module for Perl on heroku?
I tried through bash 

```
apt-get install libdbi-perl

```

This gave me an output of 

```
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened.

```

[This might be irrelevant]
I tried to run this command

```
dpkg --configure -a

```

But it told me it requires super user privileges

```
su -l root -c "dpkg --configure -a"

```

* asked for root password and apparently I don't know the password (it's not the heroku login), no clue what it might be.

I also downloaded the file directly, but I need super user access. I also tried 

```
$perl -MCPAN -e shell
cpan> install DBI

```

(this had same problem of not beng able to save the file)

I have a feeling i might be going at it completely the wrong way, but I can't figure out what I need to do to run those scripts.