Forum Discussion

Don_22992's avatar
Don_22992
Icon for Nimbostratus rankNimbostratus
Jan 28, 2008

iRule default event?

In debugging an issue, I was wondering when will an iRule be evaluated if there is no "when" clause included in the iRule?

 

 

Thanks,

 

Don

 

2 Replies

  • Hi,

     

     

    I'm pretty sure any non-comment statement must be in a 'when' statement or you'll get a parser error. I think it would be something like 'command not valid in current scope'.

     

     

    Have you seen otherwise?

     

     

    Aaron
  • Aaron,

     

     

    Ahhh... That was all I needed to know.

     

    Pointed me in the right direction to look.

     

     

    Thanks,

     

    -- Don