looking for a functin to move %fdat to the symbol table..

2001-05-10 Thread jason n perkins
php has a function called extract which takes an array (no distinction between arrays and hashes in php. in this case in perl, it'd actually be a hash). extract takes the key values of the array (and optionally prepends a user specified prefix to each of the values to avoid clobbering other

Re: looking for a functin to move %fdat to the symbol table..

2001-05-10 Thread Joshua Chamas
jason n perkins wrote: php has a function called extract which takes an array (no distinction between arrays and hashes in php. in this case in perl, it'd actually be a hash). extract takes the key values of the array (and optionally prepends a user specified prefix to each of the values to

Re: looking for a functin to move %fdat to the symbol table..

2001-05-10 Thread Perrin Harkins
It's not hard to do, but it is potentially dangerous since you could overwrite globals like $/ and change the behavior of your program. In general, it's best to avoid cluttering the symbol table. - Perrin

Re: looking for a functin to move %fdat to the symbol table..

2001-05-10 Thread Ken Williams
[EMAIL PROTECTED] (jason n perkins) wrote: php has a function called extract which takes an array (no distinction between arrays and hashes in php. in this case in perl, it'd actually be a hash). extract takes the key values of the array (and optionally prepends a user specified prefix to each of