PERL based log analyzer
SourceForge.net Logo
Home Home Contact us Contacts
Overview Documentation Downloads Contacts Links
 
News & Updates
 
July 21, 2008
v 1.0 now available
Quick Links
 
Sourceforge project's page
CeCILL license
CEA web site
using variables within variables next up previous contents
Next: External command evaluation Up: Using Hash-tables Previous: Using Hash-tables   Contents

using variables within variables

Since there are hashtables and variables, it is a natural idea to think about using variables to be keys for hastables, or values from hashtables to be keys from hastables (may be recursively). In other word, it is natural to think about using these syntaxes
  • $(v)
  • $(h[k])
  • $(h[$(v)])
  • $(h1[$(h2[$(v)])])
  • $($v))
  • $($(v)[$(w)])
  • and so on .....

Kazimir should accept any of these syntaxes, but there is one restriction: there should be no space in the syntax. This means that $(h [k]) or $(h[ k ] ) are no valid syntax.



Philippe Deniel 2008-07-22
Designed by CMG Technologies, adapted by Thomas LEIBOVICI
Design downloaded from Free Templates