[Bro-Dev] script loading changes
jsiwek at ncsa.illinois.edu
Wed Jul 13 10:17:15 PDT 2011
> What if we always try the literal version first, before trying the
> alternatives with dots replaced, .bro added, etc?
Ok, let me try again. So there's a file in BROPATH with the name
To load that in a script you do
And then starting with the literal version it searches BROPATH for
We never make it past #2 because that's the right name.
But from a new user's perspective, it's not intuitive to try the
literal version because everywhere else, the convention is to reference
scripts in packages in the dotted format, which would be:
and that would search BROPATH for
And none of those are right.
More information about the bro-dev