generating arrays on the fly

2002-08-27 Thread afarrell
hi, what I'm wanting to do is generate an array named after a string that is found in a text file. i.e something like this: if ($line=~(/^\[\[(\w+)\]\]/)){ @$1=(); #this is the line I want to acheive my aim with! } I know the syntax is wrong, but hopefully it explains what I'm trying to do, a

substituting a string in a file

2002-08-21 Thread afarrell
Hi, I'm trying to substitute all references to a date (of the format MMDD) in a file to the current date. I'm obviously doing something wrong here ('cause it doesn't work!:}), as no change is made to the config.ini file. the $date variable is derived form another part of my script. thanks,

cross referencing hashes

2002-07-16 Thread afarrell
hi, I have 2 seperate hash tables both of which have the same keys but the values are different. The values are time stamps. what I want to do is for each key subtract the differnce between the 2 time stamps. any ideas? thanks, Adrian -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addit