#!/usr/sup/gnu/bin/perl =head1 NAME pack - Program to pack strings into binary representation. =head1 SYNOPSIS B I [ I ... ] =head1 DESCRIPTION B will pack the arguments into a binary string according to I. If no files are supplied, the standard input will be used. The arguments are just fed to Perl's internal B command. =head1 AUTHOR Mats Kindahl @ DoCS (Uppsala University) =head1 SEE ALSO perl(1) =cut $fmt = shift; print pack($fmt,@ARGV ? @ARGV : <>);