Re: Capitureing error messages

2007-01-12 Thread Tom Phoenix
On 1/12/07, Dukelow, Don <[EMAIL PROTECTED]> wrote: How would I change this so I can check for error messages? The Perl FAQ has an entry about capturing the error output of an external command. The command "perldoc -q stderr" should find it for you. Hope this helps! --Tom Phoenix Stonehenge P

Re: XML::LibXML navigation

2007-01-12 Thread Andreas Puerzer
Mumia W. schrieb: > On 01/12/2007 11:29 AM, Beginner wrote: [snip] >> >> Yes ...and no. I guess I want to print out the 'code' for any address >> so that I can get the data corrected but I guess I would also like to >> remove those records at the /dataroot/address level so they don't >> appear in

Capitureing error messages

2007-01-12 Thread Dukelow, Don
In regards to the questionb yesterdat about checking the existance of a file on a remote system from a HP UX system. I'm doing the following open my $list, "remsh $host_name ls -l /var/tmp/foo" or die $!; my $check; { local $/; $check = <$list>; } if($check +~ /"No such file/) { next; }

RE: Java 1.6 support to Perl

2007-01-12 Thread Bipin_Upadhyay
>what do you mean by Java supporting Perl? It refers to the scripting framework support in Mustang [java 1.6], I guess. Regards, Bipin. DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL A

Re: XML::LibXML navigation

2007-01-12 Thread Mumia W.
On 01/12/2007 11:29 AM, Beginner wrote: On 12 Jan 2007 at 17:06, Rob Dixon wrote: Hi Rob, In the sample date below your'll see some addresses with "DO NOT..." in. I can locate them easily enough but I am struggling to navigate back up the DOM to access the code so I can record the code with

Re: printing to a file if line is not there

2007-01-12 Thread John W. Krahn
FamiLink Admin wrote: > John, > > Thanks for your help! Chomp and replacing $_ with $site did it! > > Below is the log if you think I can do it without so many splits that > would be great! > > 2007.1.12 8:06:43 - 70.22.222.29 http://www.12gpatt.com/Nightlife.html > *DENIED* Weighted phrase lim

Re: XML::LibXML navigation

2007-01-12 Thread Rob Dixon
Beginner wrote: > On 12 Jan 2007 at 17:06, Rob Dixon wrote: >> Beginner wrote: >>> >>> In the sample date below your'll see some addresses with "DO NOT..." >>> in. I can locate them easily enough but I am struggling to navigate >>> back up the DOM to access the code so I can record the code with >

Re: XML::LibXML navigation

2007-01-12 Thread Beginner
On 12 Jan 2007 at 17:06, Rob Dixon wrote: Hi Rob, > > > > In the sample date below your'll see some addresses with "DO NOT..." > > in. I can locate them easily enough but I am struggling to navigate > > back up the DOM to access the code so I can record the code with > > faulty addresses. > >

Re: XML::LibXML navigation

2007-01-12 Thread Rob Dixon
Beginner wrote: Hi, I have to do some sanity checks on a large xml file of addresses (snip below). I have been using XML::LibXML and seem to have started ok but I am struggling to navigate around a record. In the sample date below your'll see some addresses with "DO NOT..." in. I can locate

Re: Video and perl

2007-01-12 Thread Herman Gerritsen
Hi there again, I got the camera set up and working. The Logitech Quickcam drivers come with the kernel sources these days (version 2.6.19.2 works for me) So that is cleared up I can now record endlessly with ffmpeg :). Anyway the FFmpeg perl module is bugging me :( so I figured to go for the V4l

HoH and HoHoH

2007-01-12 Thread oryann9
HoH 'jblow' => { 'uid' => '2195', 'gecos' => 'Joe Blow,,,', 'gid' => '20' }, snippet. ( $name, $p, $uid, $gid, $gecos, $dir, $s ) = split( ':' ); $hash1{$name} -> {'uid'

Re: Net::BitTorrent::File problems

2007-01-12 Thread Andy Greenwood
Never mind. I got it straightened out. I just had to ... my $pieces = $info->{'pieces'}; $pieces =~ s/(.)/sprintf("%02x",ord($1))/egs; ... On 1/11/07, Andy Greenwood <[EMAIL PROTECTED]> wrote: I'm trying to extract the SHA1 hashes out of a .torrent file using Net::BitTorrent::File, among other

Re: Java 1.6 support to Perl

2007-01-12 Thread Pedro Henrique Calais
what do you mean by Java supporting Perl? - Original Message - From: "marcos rebelo" <[EMAIL PROTECTED]> To: Sent: Friday, January 12, 2007 9:05 AM Subject: Java 1.6 support to Perl Hy all It seems that Java 1.6 isn't supporting Perl, :'( bad sun. When will this be fix? Thanks M

Re: printing to a file if line is not there

2007-01-12 Thread FamiLink Admin
John, Thanks for your help! Chomp and replacing $_ with $site did it! Below is the log if you think I can do it without so many splits that would be great! 2007.1.12 8:06:43 - 70.22.222.29 http://www.12gpatt.com/Nightlife.html *DENIED* Weighted phrase limit of 100 : 341 (live sex...cam+live

Java 1.6 support to Perl

2007-01-12 Thread marcos rebelo
Hy all It seems that Java 1.6 isn't supporting Perl, :'( bad sun. When will this be fix? Thanks Marcos -- Marcos Rebelo http://oleber.awardspace.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Video and perl

2007-01-12 Thread Herman Gerritsen
I have got the cam working now (upgraded to 2.6.19.2 kernel). But I cannot install the FFmpeg-6036 module. I have got all dependicies installed and the "perl Makefile.pl" doesn't complain. Now when i issue "make" it ends with the following error. FFmpeg.xs: In function 'XS_FFmpeg__file_formats'

Re: array searching

2007-01-12 Thread Rob Dixon
Jim Canon wrote: > Hi, > > This is my first question, I appreciate any information you provide. I want > to compare the numbers after : in @jn to the numbers after job in @job1 and > @job2. > > > @jn = > JN.2007:555 > JN.2007:8433 > JN.2007:594 > JN.2007:111 > JN.2007:4663 > JN.2007.321 > JN.2007: