Where is the "concat" function supposed to come from? The error you reference means that, on line 31 of the script, you call a function called "concat". Perl assumes that unqualified function names are in the main namespace, which is why it looks for &main::concat : & refers to a function, main to the namespace, and :: separates the identifier from the namespace.
I know of no standard Perl concat function or library. Can you post the area of the script around line 31? ---------------------------------------------------------------------- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On Tue, 28 Jan 2003, Keith Steensma wrote: > I've installed a very minimum Debian 'testing' system. > > I trying to run a perl script that uses a 'concat' function. I can't > find it as a built-in function of the language nor can I find it in the > Debian packages list. > > The error is - > Undefined subroutine &main::concat called at ./mbox2maildir.pl line 31. > > I've tried to form it into 'libmain-concat-perl' and various other > wording combinations (for the Debian package search). I tried another > script that does the same thing, but I got the same type of error (no > 'concat'). Neither script homepages have any mention of 'something > special' so I assume that it a 'standard' in other distributions (but > not Debian). > > Anyone have a suggestion? Keith > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]