请问julia中怎么导入自定义的模块

请问怎么导入自定义的模块
使用模块中的函数而不用制定模块名字:mod.function

在模块 X 的定义里 export f,或者在 import X.f(需要模块 X 可用)。

你能在脚本环境中演示一下吗

julia> module m
           fun()="hello"
           export fun
       end
Main.m

julia> using .m

julia> fun()
"hello"

or

julia> module m
           fun()="hello"
       end
Main.m

julia> import .m:fun

julia> fun()
"hello"