$pl
->write([plfile
])
Writes to a .packlist. Optionally takes the name of the .packlist to be written; otherwise overwrites the .packlist associated with $pl. If the value associated with a hash key is a scalar, the entry written to the .packlist is a simple filename. If the value is a hash, the entry written is the filename followed by the key/value pairs from the hash.