# Underscore syntax and anonymous modules?

**URL:** <https://discourse.julialang.org/t/underscore-syntax-and-anonymous-modules/110003>\
**Category:** General Usage\
**Tags:** module\
**Created:** [February 9, 2024, 6:14pm UTC](https://discourse.julialang.org/t/underscore-syntax-and-anonymous-modules/110003 "2024-02-09T18:14:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [February 9, 2024, 6:18pm UTC](https://discourse.julialang.org/t/underscore-syntax-and-anonymous-modules/110003/2 "2024-02-09T18:18:59Z")

</div>

> [@sadish-d](#):
>
> So I can’t do `module _ end`? […] It would be useful in creating different namespaces.

No. See [Anonymous or temporary module syntax · Issue #40189 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/issues/40189) — you can do

```julia
@eval Module() begin
    # put code here
end

```

to have an anonymous module.

See also [How do you make anonymous module w/ variables?](https://discourse.julialang.org/t/how-do-you-make-anonymous-module-w-variables/4068)

---

_[View the full topic](https://discourse.julialang.org/t/underscore-syntax-and-anonymous-modules/110003)._
