Re: Package declaration problem

2001-12-19 Thread Michael Fowler
On Wed, Dec 19, 2001 at 03:33:59PM -0500, Paul Kincaid wrote: > #!/usr/bin/perl -w > > # Program for logging into Foundry and Cisco switches/routers > # and backing up specific information > > use strict; > use Net::Telnet; [snip] > sub start { > > package Start; > my ($t, @output,

Re: Package declaration problem

2001-12-19 Thread Paul Kincaid
One little change - please just look at the first part of the script I sent in (see below), I just realized how royally screwed up the rest of the script is right now, and I should be embarassed at letting it get out into the public > > #!/usr/bin/perl -w > > # Program for logging into Foun

Package declaration problem

2001-12-19 Thread Paul Kincaid
I've got a small script that is going into a much larger script that is killing me as to why it is not working When I try and execute it I get: [paul@kenny backup]$ perl test2.pl Name "Start::skip" used only once: possible typo at test2.pl line 52. Can't call method "waitfor" on an undefined