Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
PERL Script to extract the data from word pad.

Posted by amarnathreddy (amarnathreddy), 4 December 2007
(we have a file containing these type of data. we want to extract the data using perl script.the Raw data should be kept in form of tables )


{name {[0]{name "EMS",value "LSN/EMS_XDM_5"},[1]{name "ManagedElement",value "4430"},[2]{name "PTP",value "4:0"},[3]{name "CTP",value "/sts3c_au4-j=1/vt2_tu12-k=1-l=1-m=3"}},userLabel "I1-VC4-1 : TU12-1-1-3 ",nativeEMSName "I1-VC4-1 : TU12-1-1-3 ",owner "",ingressTrafficDescriptorName {},egressTrafficDescriptorName {},type "TPT_CTP",connectionState "TPCS_BI_CONNECTED",tpMappingMode "TM_NEITHER_TERMINATED_NOR_AVAILABLE_FOR_MAPPING",direction "D_BIDIRECTIONAL",transmissionParams {[0]{layer 11,transmissionParams {[0]{name "AlarmReporting",value "off"},[1]{name "ServiceState",value "SERV_NA"},[2]{name "protectionSchemeState",value "PSS_AUTOMATIC"}}}},tpProtectionAssociation "TPPA_NA",edgePoint True,additionalInfo {}}



Posted by admin (Graham Ellis), 4 December 2007
If you can show me how you're looking to report the data you extract, and the program that you're having trouble with in order to do it, then I can have a look at the program and can help you.

Posted by amarnathreddy (amarnathreddy), 4 December 2007
Raw data should be extracted in a way that ,the data should be in a tabular form
ie  name
     XXX
We require the program to solve this.PLZ help us

Posted by admin (Graham Ellis), 4 December 2007
OK .... I'm not sure that I understand, nor do I see the program that you're trying to sort out.   We're very much a technical support service here, and not a "please write my program for me" house.

Posted by KevinAD (KevinAD), 4 December 2007
on 12/04/07 at 05:43:59, amarnathreddy wrote:
Raw data should be extracted in a way that ,the data should be in a tabular form
ie  name
     XXX
We require the program to solve this.PLZ help us



I guess you assume everyone knows what the raw data is in the sample data you posted. Your assumption is wrong.



This page is a thread posted to the opentalk forum at www.opentalk.org.uk and archived here for reference. To jump to the archive index please follow this link.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2024: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho