Displaying 1 result from an estimated 1 matches for "some_variable_set".
2007 Sep 13
3
Templates and undefined variables
...d "" (both in the file and the exec), which
strikes me as a bit odd - in particular it seems to differ from the
variable scoping example in the Language Tutorial. This is in the
middle of my config, but I''ve split this out.
I even tried doing something like this in the class:
$some_variable_set = $some_variable ? {
nil => "NIL",
"" => "blank",
undefined => "undef",
default => "default",
}
But had about as much success as I thought I might!
Many thanks,
Adrian