I hope this question is in regarding to simulation and modeling only.
Because for synthesis, global variable doesn't make sense.
Anyway in verilog, there is no sense of global variable as compared to
C. But you can have defines for some constant values (which are not
variable

.
Parameters and other data types "has to" be declared inside a <module>.
And these can behave as "global" for tasks declared inside the
<module>. But it is not same as C.