![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PERL Error | Asteroid | High Level Programming | 3 | 04-25-2008 02:15 AM |
| parsing error in if statement | rakeshou | Shell Programming and Scripting | 2 | 09-25-2007 11:46 AM |
| HTML parsing by PERL | avik1983 | Shell Programming and Scripting | 3 | 02-23-2007 09:25 AM |
| PERL - Parsing Crystal Reports | srinivay | Shell Programming and Scripting | 0 | 05-12-2005 08:55 AM |
| Conversion of bash parsing script to perl? | cstovall | Shell Programming and Scripting | 2 | 10-13-2004 11:33 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
xml parsing error in perl
******************PERL VERSION************************
This is perl, v5.8.1 built for i386-linux-thread-multi ERROR!!!!---Undefined subroutine &main::start called at /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/XML/Parser/Expat.pm line 469. *********************PERL CODE************************ # include package use XML::Parser; # initialize parser $xp = new XML::Parser; # set callback functions $xp->setHandlers(Start => \&start, END => \&end, Char => \&cdata); # parse XML $xp->parsefile("page1.xml"); ************************XML FILE********************* <?xml version="1.0"?> <library> <book> <title>Dreamcatcher</title> <author>Stephen King</author> <genre>Horror</genre> <pages>899</pages> <price>23.99</price> <rating>5</rating> </book> </library> Plz remove the error if possible.... |
|
||||
|
Quote:
In fact you can repeat the error with something as simple as Code:
root@xxxxxx:~ # perl -w -e '$a = \&xxxx; &$a' Undefined subroutine &main::xxxx called at -e line 1. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|