[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 08/03/2009 03:28 PM, Patrick Dupre wrote:
> Hello,
> It looks like that the variable PERL5LIB can be modified inside a
> shell, but then the export (when calling gnome-terminal) reset the value
> to this orginal value.
> Is it the expect behavior ?

If you mean that a process with the variable PERL5LIB calls a
sub-process (another shell, if you will), which changes the variable and
exports it, yes.  The changed value is only available to the subprocess.
 The calling process' version of the variable is never changed.  This is
expected behavior.  "Exporting" only makes the changed value available
to the current process and any process spawned from that process, not to
any parent processes.

Kevin J. Cummings
[email protected]
[email protected]
[email protected]
Registered Linux User #1232 (

fedora-list mailing list
[email protected]
To unsubscribe:

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux