# Variable and fucntion/task defined in one package but import in mutiple files, the variable and function/task is same object in the mutile different place?

**URL:** <https://verificationacademy.com/forums/t/variable-and-fucntion-task-defined-in-one-package-but-import-in-mutiple-files-the-variable-and-function-task-is-same-object-in-the-mutile-different-place/38805>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, package-variable-uvm\
**Created:** [March 10, 2021, 7:29am UTC](https://verificationacademy.com/forums/t/variable-and-fucntion-task-defined-in-one-package-but-import-in-mutiple-files-the-variable-and-function-task-is-same-object-in-the-mutile-different-place/38805 "2021-03-10T07:29:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [March 10, 2021, 5:52pm UTC](https://verificationacademy.com/forums/t/variable-and-fucntion-task-defined-in-one-package-but-import-in-mutiple-files-the-variable-and-function-task-is-same-object-in-the-mutile-different-place/38805/2 "2021-03-10T17:52:49Z")

</div>

_In reply to [Yesire-Lincoln](https://verificationacademy.com/forums/t/variable-and-fucntion-task-defined-in-one-package-but-import-in-mutiple-files-the-variable-and-function-task-is-same-object-in-the-mutile-different-place/38805):_

Importing anything from a package does not create new copies of that. It is only providing visibility to the names in the package without having to provide the fully explicit pathname.

---

_[View the full topic](https://verificationacademy.com/forums/t/variable-and-fucntion-task-defined-in-one-package-but-import-in-mutiple-files-the-variable-and-function-task-is-same-object-in-the-mutile-different-place/38805)._
