>>>>> "MOORHOUSE," == MOORHOUSE, John NW Group Risk 
><[EMAIL PROTECTED]> writes:

MOORHOUSE,> Is there any way of initialling a *main::input in one go
MOORHOUSE,> i.e  *main::input=();     doesn't work

This is already heading down the dangerous path.  Why are you using
a symbol-table variable if you don't want a symbol-table variable?

If you want something temporary:

        {
                local *main::input;
                $status = whatever->ReadParse(*main::input);
                ... use %main::input;
        }

But the evilness of that ReadParse word is making me shudder already.
That's so... uh... perl4-ish.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to