Re: from bash to perl; source() equivalent

2004-01-03 Thread Ramprasad A Padmanabhan
> Thanks, Ram. I was rather hoping there was something simpler than fully-fledged > modules. > > Basically what I've done is set up a single script and a bunch of config files. > Each config file ends in > > #%include bin/script.pl > > And I use a minimalist PerlPP to include it. This is s

Re: from bash to perl; source() equivalent

2004-01-01 Thread Ramprasad A Padmanabhan
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