What's the dot-command equivalent? 
Author Message
 What's the dot-command equivalent?

-----BEGIN PGP SIGNED MESSAGE-----

In the Korn shell, A program or script in a child process can run in
the environment of the parent process if the program or script name is
prefaced with ". ", the dot command. What's an analogous mechanism for
this in Perl?

-----BEGIN PGP SIGNATURE-----
Version: 2.3a

iQCVAgUBLSMuYt/mV3kfrEsJAQH/vgP/Q6FC+FNTU3cyI44B1RmAA2WLhRWHnQ2E
vSAE/VivCh4PfxN9+SjhJSXJa5qa4hIW2CZYDKwvo2s3+oAqAVh5dan3cfMP0mUS
q76oMFur7Z6bXcokeqIfAl1QCN8Jl5E+oRl8HrbgEb/ggbyqXcNVDu3ECCVhY0fw
LiO0YWpeMyA=
=cSdp
-----END PGP SIGNATURE-----



Tue, 18 Jun 1996 03:41:20 GMT  
 What's the dot-command equivalent?

:In the Korn shell, A program or script in a child process can run in
:the environment of the parent process if the program or script name is
:prefaced with ". ", the dot command. What's an analogous mechanism for
:this in Perl?

See

    do "somefile.pl";

and

    require "somefile.pl";

--tom
--

      "Will Hack Perl for Fine Food and Fun"
        Boulder Colorado  303-444-3212



Tue, 18 Jun 1996 04:37:26 GMT  
 What's the dot-command equivalent?

wouldn't that be ``eval''?
--
You scored an excellent hit off the Street Dealer --More--



Tue, 18 Jun 1996 15:33:34 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. sh dot equivalent in perl

2. Perl equivalent to unix's uniq command

3. To dot, or not to dot, ...

4. Newbie - Translating Shell Dot (.) command to Perl

5. Range operators: two dots v.s. three dots

6. Perl equiv for ksh source ('.' dot) command

7. Perl equivalent of 'basename'

8. Perl equivalent of 'basename'

9. Perl equivalent of 'C' #include

10. Equivalent of 'date' under DOS

11. Equivalent of 'date' under DOS

12. perl equivalent for sed command- required

 

 
Powered by phpBB® Forum Software