Hi,
I'm experiencing difficulty in loading an XML file to an Oracle destination table.I keep running into a memory problem due to the large size of the file.
I want to split the XML file into several smaller files based on the keyword(s)/tags : '' and '' and would like to use a Unix shell... (2 Replies)
Hi,
We run an application called meta which reads user information from database and updates in LDAP.For that we have some scripts to check the uniqueness of mail ids between the existing LDAP and Database.It works fine when people enter mail ids in proper format (xxx.yyy@abc.com) but if it... (2 Replies)
Hi am using uuencode fro attaching one report which is nothing but sql query output.
But when i receive the report through attachement and when it is opened the report is not displayed in proper format. Means if the sql query has 100 rows the mail attachment report displays the report in 2... (2 Replies)
There's a small SH script I'm trying to write where it will get the current month and find a log file that is based on the date.
Example: Today is February, so the log file is going to be 201102.log (2011 + 02)
An additional thing is that if today is the 1st of a month, it will also find the log... (3 Replies)
I have a 30 GB XMl file which looks like this:
<page>
<title>APRIL</title>
.........(text contents that I need to extract and store in 1.dat including the <title> tag)
</page>
<page>
<title>August</title>
....(text contents that I need to store in 2.dat including the <title> tag)
</page>... (13 Replies)
Hi,
I had a scenario need a help as I am new to this. I have a xml file employee.xml with the below content.
<Organisation><employee>xxx</employee><employee>yyy</employee><employee>zzz</employee></Organisation>
I want to split the file into multiple file as below. Is there a specifice way... (5 Replies)
Hi Experts,
Can you please help me to split following XML file based on new Order ? Actual file is very big. I have taken few lines of it.
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Orders xmlns='http://www.URL.com/Orders'>
<Order>
<ORDNo>450321</ORDNo>
... (3 Replies)
I do have an xml sheet as below where I need the perl script to filter only the hyperlink tags.
<cols><col min="1" max="1" width="30.5703125" customWidth="1"/><col min="2" max="2" width="7.140625" bestFit="1" customWidth="1"/>
<col min="3" max="3" width="32.28515625" bestFit="1"... (3 Replies)
Hello All ,
Please help me with below requirement
I want to split a xml file based on tag.here is the file format
<data-set>
some-information
</data-set>
<data-set1>
some-information
</data-set1>
<data-set2>
some-information
</data-set2>
I want to split the above file into 3... (5 Replies)
Hi All,
We need to split a large xml into multiple valid xml with same header(2lines) and footer(last line) for N number of letterId.
In the example below we have first 2 lines as header and last line as footer.(They need to be in each split xml file)
Header:
<?xml version="1.0"... (5 Replies)
Discussion started by: vx04
5 Replies
LEARN ABOUT DEBIAN
ppix::editortools::renamepackagefrompath
PPIx::EditorTools::RenamePackageFromPath(3pm) User Contributed Perl Documentation PPIx::EditorTools::RenamePackageFromPath(3pm)NAME
PPIx::EditorTools::RenamePackageFromPath -Change the package name based on the files path
SYNOPSIS
my $munged = PPIx::EditorTools::RenamePackageFromPath->new->rename(
code => "package TestPackage;
use strict;
BEGIN {
$^W = 1;
}
1;
",
filename => './lib/Test/Code/Path.pm',
);
my $new_code_as_string = $munged->code;
my $package_ppi_element = $munged->element;
DESCRIPTION
This module uses PPI to change the package name of code.
METHODS
new()
Constructor. Generally shouldn't be called with any arguments.
rename( ppi => PPI::Document $ppi, filename => Str ) =item rename( code => Str $code, filename => Str )
Accepts either a "PPI::Document" to process or a string containing the code (which will be converted into a "PPI::Document") to
process. Replaces the package name with that supplied in the "filename" parameter and returns a "PPIx::EditorTools::ReturnObject" with
the new code available via the "ppi" or "code" accessors, as a "PPI::Document" or "string", respectively.
An attempt will be made to derive the package name from the filename passed as a parameter. The filename's path will converted to an
absolute path and it will be searched for a "lib" directory which will be assumed the start of the package name. If no "lib" directory
can be found in the absolute path, the relative path will be used.
Croaks with a "package name not found" exception if unable to find the package name.
SEE ALSO
This class inherits from "PPIx::EditorTools". Also see App::EditorTools, Padre, and PPI.
perl v5.14.2 2012-03-11 PPIx::EditorTools::RenamePackageFromPath(3pm)