[plug] bash to perl

Simon Newton newtons at iinet.net
Sun Nov 2 13:21:40 WST 2003


look at Config::General on cpan

http://search.cpan.org/~tlinden/Config-General-2.24/General.pm

Simon N



On Sun, 2003-11-02 at 13:03, Craig Dyke wrote:
> Howdy all
> 
> I have a bash script that when it runs has a first executable line which
> reads:
> 
> . /etc/file
> 
> This sets up a number of variables.
> The file looks like:
> 
> PAGER=less
> 
> I want to change / import the same variables into a perl version of my bash
> script.
> 
> Any suggestions?
> 
> Craig
> 
> 
> 
> _______________________________________________
> plug mailing list
> plug at plug.linux.org.au
> http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
> 

_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list