Re: Question

2008-11-16 Thread Chas. Owens
On Mon, Nov 17, 2008 at 00:21, <[EMAIL PROTECTED]> wrote: > Is there any way to remove an item from @INC in a built perl permanently? > > I got my perl5.8.7 to print out all of the libraries in its INC array, and > then > copied and pasted them (separated by :s) into the appropriate response > in

Question

2008-11-16 Thread craig
Is there any way to remove an item from @INC in a built perl permanently? I got my perl5.8.7 to print out all of the libraries in its INC array, and then copied and pasted them (separated by :s) into the appropriate response in the 5.8.8 Configure interaction. Now all of the 5.8.7 'i386-fre

Re: Array manipulation

2008-11-16 Thread John W. Krahn
hotkitty wrote: Hi, Hello, I have two arrays, as follows: Array1=( date 11/01/2008 newstuff1, date 10/27/2008 newstuff2, date 10/24/2008 newstuff3 ) Array2=( date 11/01/2008 oldstuff1, date 10/31/2008 oldstuff2, date 10/30/2008 oldstuff3, date 10/29/2008 oldstuff4, date 10/28/2008 oldstuff5

Re: Array manipulation

2008-11-16 Thread Mr. Shawn H. Corey
On Sun, 2008-11-16 at 08:35 -0800, hotkitty wrote: > How do I combine the arrays so that the the "newstuff" in array1 gets > appended only to an item in array2 if the dates match? Create a hash of lists with the dates as its keys. Go through Array2 and push each oldstuff on the list stored in the

Array manipulation

2008-11-16 Thread hotkitty
Hi, I have two arrays, as follows: Array1=( date 11/01/2008 newstuff1, date 10/27/2008 newstuff2, date 10/24/2008 newstuff3 ) Array2=( date 11/01/2008 oldstuff1, date 10/31/2008 oldstuff2, date 10/30/2008 oldstuff3, date 10/29/2008 oldstuff4, date 10/28/2008 oldstuff5, date 10/27/2008 oldstuff6,

Re: Need Help

2008-11-16 Thread Chas. Owens
On Sun, Nov 16, 2008 at 14:33, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote: > On Sun, 2008-11-16 at 13:23 -0500, Chas. Owens wrote: >> On Sun, Nov 16, 2008 at 09:11, a b <[EMAIL PROTECTED]> wrote: >> > Hi , >> > Can any body tells me what do we mean by below code >> > >> > $ROUTE::COMM{NEWROUTE}{

Re: Need Help

2008-11-16 Thread Mr. Shawn H. Corey
On Sun, 2008-11-16 at 13:23 -0500, Chas. Owens wrote: > On Sun, Nov 16, 2008 at 09:11, a b <[EMAIL PROTECTED]> wrote: > > Hi , > > Can any body tells me what do we mean by below code > > > > $ROUTE::COMM{NEWROUTE}{OS()} > > > > > > Thanks in Advance > > a b . > > > > No, there is not enough cont

Re: Need Help

2008-11-16 Thread Chas. Owens
On Sun, Nov 16, 2008 at 09:11, a b <[EMAIL PROTECTED]> wrote: > Hi , > Can any body tells me what do we mean by below code > > $ROUTE::COMM{NEWROUTE}{OS()} > > > Thanks in Advance > a b . > No, there is not enough context for me to know why this code is being used and off hand it looks like usel

Re: xml question for xml::twig

2008-11-16 Thread Richard Lee
Richard Lee wrote: I think I made a mistake .. this is now working... V="baz">1000yes50novalue="disabled"/>country="Russia" id="kingtony">value="none"/>value="ohio_usa">active="true" country="japan" id="queensarah">type="dictator"/>value="none"/>value="ca_usa"/>marriage="no"/> Now, I just nee

Re: need help

2008-11-16 Thread Mr. Shawn H. Corey
On Sun, 2008-11-16 at 19:31 +0530, chillidba wrote: > Hi , > Can any body tells me what do we mean by below code > > $ROUTE::COMM{NEWROUTE}{OS()} > > > Thanks in Advance > a b . This is a deference of a hash of a hash in another package. ROUTE is the package name. COMM is the hash in ROUTE N

Re: need help

2008-11-16 Thread Rodrick Brown
On Sun, Nov 16, 2008 at 9:01 AM, chillidba <[EMAIL PROTECTED]> wrote: > Hi , > Can any body tells me what do we mean by below code > > $ROUTE::COMM{NEWROUTE}{OS()} > > > Thanks in Advance > a b . This isnt a Perl command per say, it seems to be a user defined function unless you post more code

need help

2008-11-16 Thread chillidba
Hi , Can any body tells me what do we mean by below code $ROUTE::COMM{NEWROUTE}{OS()} Thanks in Advance a b .

Re: MySQL statement with REGEX / RLIKE containing a scalar variable possible?

2008-11-16 Thread Wolf
On Nov 13, 4:56 pm, [EMAIL PROTECTED] (Deviloper) wrote: > I have a SQL-Statement with a Regular Expression and I want to use a scalar > in that expression: (Looking for something like "$tool =~ m/\Q$x\E/" ) > > #Find tools with xx in the name: > $dbh->prepare ("SELECT name FROM toolbox WHERE

Need Help

2008-11-16 Thread a b
Hi , Can any body tells me what do we mean by below code $ROUTE::COMM{NEWROUTE}{OS()} Thanks in Advance a b .

Re: Quoting hash keys changes things sometimes

2008-11-16 Thread Dr.Ruud
Rob Dixon schreef: > Kelly Jones: >> Consider: >> >> perl -le '$hash{"foo-bar"} = 1; print $hash{foo-bar}' >> [no result] >> >> perl -le '$hash{"foobar"} = 1; print $hash{foobar}' >> 1 >> >> I sort of understand this: in the first script, Perl treats foo-bar >> as a subtraction, and sets $hash{

Re: xml question for xml::twig

2008-11-16 Thread Richard Lee
Richard Lee wrote: Richard Lee wrote: Chas. Owens wrote: my $sabal = new XML::Twig( twig_roots => { 'foo/yahoo' => #'[EMAIL PROTECTED]"kingtony"]' => sub { my ($yabal, $elemen