View Single Post
  #14  
Old 12-13-2004, 04:15 AM
Dave987
Discordant
 
Join Date: Jun 2003
Location: England
Posts: 267
Default

In Visual Basic (yes, I know....) you are able to define things as things.
For example

Code:
Dim Akheva as String
Akheva = 1
Sub End
Is there something like this in PERL, allowing you to define something as something?
I would have thought it would be something like
sub EVENT_SAY{

"Akheva" = 1
etc. = etc.

if($text =~ /hail/i){
quest ..... etc. etc.}
}
__________________
;o)
Reply With Quote