The following test script fails to compile, complaining that there are not enough arguments
in the call to sub2. #!/bin/perl sub1("Hello, "); sub1("world\n"); sub sub2($str) { print $str; } sub sub1($str) { sub2($str) } The basic problem is that I'm trying to call one subroutine from inside another. I'm sure I've had this work before, but there's clearly something I'm doing wrong this time. Any clues? Thanks, Kim Helliwell LSI Logic Corporation Work: 408 433 8475 Cell: 408 832 5365 [EMAIL PROTECTED] Please Note: My email address will change to [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> on Oct 14. The old 'lsil.com' email address will stop working after Jan 15, 2007. Please update your address book and distribution lists accordingly. Thank you.