There are no such things as namespaces

suggest change
myfunc(){
    echo "I will never be executed."
}
another_func(){
    # this "redeclare" overwrites original function
    myfunc(){ echo "I am the one and only"; }
}
# myfunc will print "I will never be executed"
myfunc
# but if we call another_func first
another_func
# it gets overwritten and
myfunc
# no prints "I am the one and only"

The latest declaration wins. There are no such things as namespaces! However, functions can contain other functions.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents