Re: ENV variable or others things

2012-04-27 Thread Zapp
于 2012-4-27 20:43, Shawn H Corey 写道: > On 12-04-27 03:06 AM, Zapp wrote: >> when I use bash, I can write a file ( a.sh ) like : >> abc='abc' >> ddd='aaa' >> ... >> then I can load it in other file: >> source a.sh >> echo $abc $ddd # it always work! >> >> but in perl , how can I do like that ? >> >>

Re: ENV variable or others things

2012-04-27 Thread Shawn H Corey
On 12-04-27 03:06 AM, Zapp wrote: > when I use bash, I can write a file ( a.sh ) like : > abc='abc' > ddd='aaa' > ... > then I can load it in other file: > source a.sh > echo $abc $ddd # it always work! > > but in perl , how can I do like that ? > > I write a file ( my_env.pl ) like: > #!/usr/bin

Re: ENV variable or others things

2012-04-27 Thread timothy adigun
Hi zapp, Please my comments below: 2012/4/27 Zapp > when I use bash, I can write a file ( a.sh ) like : > abc='abc' > ddd='aaa' > ... > then I can load it in other file: > source a.sh > echo $abc $ddd # it always work! > > but in perl , how can I do like that ? > > I write a file ( my_env.pl )

Re: Book Recommendation - XPath, XML,SQL, XQuery

2012-04-27 Thread Sayth Renshaw
Just an update I also found this book. http://www.amazon.com/Beginning-Perl-Web-Development-Professional/dp/1590595319 Beginning Perl Web Development: From Novice to Professional (Beginning: From Novice to Professional) [Paperback] Steve Suehring it's a good overview book but does cover a lot o

Re: ENV variable or others things

2012-04-27 Thread Zapp
于 2012-4-27 15:41, Octavian Rasnita 写道: > From: "Zapp" >> when I use bash, I can write a file ( a.sh ) like : >> abc='abc' >> ddd='aaa' >> ... >> then I can load it in other file: >> source a.sh >> echo $abc $ddd # it always work! >> >> but in perl , how can I do like that ? >> >> I write a file (

Re: ENV variable or others things

2012-04-27 Thread Octavian Rasnita
From: "Zapp" > when I use bash, I can write a file ( a.sh ) like : > abc='abc' > ddd='aaa' > ... > then I can load it in other file: > source a.sh > echo $abc $ddd # it always work! > > but in perl , how can I do like that ? > > I write a file ( my_env.pl ) like: > #!/usr/bin/perl -w > my $abc='

ENV variable or others things

2012-04-27 Thread Zapp
when I use bash, I can write a file ( a.sh ) like : abc='abc' ddd='aaa' ... then I can load it in other file: source a.sh echo $abc $ddd # it always work! but in perl , how can I do like that ? I write a file ( my_env.pl ) like: #!/usr/bin/perl -w my $abc='abc'; my $ddd="ddd"; and in my.pl : #!/