Define from one package are visible in another package

In reply to dave_59:

In my VCS command both p1.sv and p2.sv files are going as part of file-list supplied with -f option i.e.
file.list:
p1.sv
p2.sv
rtl.sv

On VCS command:
vcs +vcs+lic+wait -sverilog +incdir+src -f file.list

I might be having little understanding on compilation scope, but for me as I understand in above each entry in file.list we create it’s own scope … i.e. p1.sv and p2.sv will have their separate scope and in similarly if some additional rtl.sv is there it will have it’s another compilation scope. Have wrongly understood this?