Twb wrote:
(Please CC: me as I'm not yet on this list.)

I have moved / am moving from bash to perl for my misc scripts.

I am still at a loss as to how to do source() (a.k.a. `.') in perl.

e.g. #/bin/bash
. ~/.foorc
#or source ~/.foorc
while (bar); do baz; done


-trent




Read about require / use ( perldoc -f use )


If you want to use variables across different files , You surely must read about namespaces and packages.The rest will be very easy

perldoc perlmod , perldoc perllib etc are good places to start with


Ram






--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to