Re: Use of uninitialized value in print at...

2010-06-03 Thread Shlomi Fish
On Thursday 03 Jun 2010 19:53:48 Bryan R Harris wrote: > Seems like the first time I run a new script I *always* get an error > message something like this: > > "Use of uninitialized value in printf at /Users/harrisb/Library/perl/matc > line 414." > > The problem is usually I'm printing several

Re: XML::XPath got some error creating a new parsing

2010-06-03 Thread Shlomi Fish
On Thursday 03 Jun 2010 19:30:37 Shawn H Corey wrote: > On 10-06-03 12:20 PM, Shlomi Fish wrote: > > Hi, > > > > Don't use XML-XPath - use XML-LibXML instead: > > > > http://search.cpan.org/dist/XML-LibXML/ > > OK, why? 1. XML-LibXML has been better maintained. (The last release of XML-XPath wa

Use of uninitialized value in print at...

2010-06-03 Thread Bryan R Harris
Seems like the first time I run a new script I *always* get an error message something like this: "Use of uninitialized value in printf at /Users/harrisb/Library/perl/matc line 414." The problem is usually I'm printing several things, so I have no idea which variable wasn't initialized from t

Re: XML::XPath got some error creating a new parsing

2010-06-03 Thread Shawn H Corey
On 10-06-03 12:20 PM, Shlomi Fish wrote: Hi, Don't use XML-XPath - use XML-LibXML instead: http://search.cpan.org/dist/XML-LibXML/ OK, why? -- Just my 0.0002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. The secret to

Re: XML::XPath got some error creating a new parsing

2010-06-03 Thread Shlomi Fish
Hi, Don't use XML-XPath - use XML-LibXML instead: http://search.cpan.org/dist/XML-LibXML/ Regards, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ The Case for File Swapping - http://shlom.in/file-swap God

XML::XPath got some error creating a new parsing

2010-06-03 Thread perl
This is normally the basic when i added a xml file to the code Code :: /use XML::XPath; use XML::XPath::XMLParser; use Data::Dumper; # create an object to parse the file and field XPath queries my $xpath = XML::XPath->new( filename => "test.xml" ); print Dumper ($xpath) ;/ OutPut :: /$VAR