RE: Trouble with my variables.

2003-02-18 Thread Beckett Richard-qswi266
Thanks, guys. I'm not sure I can explain what I thought, but here's a go... I thought that: If you define a variable with 'my' in the main part of the script, it is available to all parts of that script, including subroutines. In a subroutine, if you define a variable that is only used in that

RE: Trouble with my variables.

2003-02-18 Thread Stovall, Adrian M.
-Original Message- From: Beckett Richard-qswi266 [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 7:29 AM To: [EMAIL PROTECTED] Subject: RE: Trouble with my variables. Thanks, guys. I'm not sure I can explain what I thought, but here's a go... I thought

Re: Trouble with my variables.

2003-02-18 Thread Kevin Horvatin
I must have missed the first posting/response, but it looks like you are using use strict; but not declaring your $key variable in the right scope. If you want to use $key as a global you need to declare it outside of a subroutine using my $key; If you are trying to pass arguments to your

Re: Trouble with my variables.

2003-02-18 Thread Dirk Bremer \(NISC\)
- Original Message - From: Beckett Richard-qswi266 [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 10:07 Subject: RE: Trouble with my variables. Still having harassments... I now invoke the sub thusly... update_value(ftp, $ftp{$key}{value}, $key

RE: Trouble with my variables.

2003-02-18 Thread Stovall, Adrian M.
-Original Message- From: Beckett Richard-qswi266 [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:07 AM To: [EMAIL PROTECTED] Subject: RE: Trouble with my variables. Still having harassments... I now invoke the sub thusly... update_value(ftp, $ftp{$key}{value

RE: Trouble my my variables in separate configuration file

2001-02-20 Thread Dunnigan,Jack [Edm]
]] Sent: Tuesday, February 20, 2001 10:19 AM To: Perl Win32 Users List Subject: Trouble my "my" variables in separate configuration file Hi, there: Trying to understand why, if I declare a bunch of my variables in a file, everything works fine. But when I put them in a separate configur