I have input file like
RDBMS FALIURE UTY8703 'USER_WORK.TEST' .HIghest return code '12'
I want to parse data which comed between first quote till next quote
USER_WORK.TEST
can you please suggest how to do that (4 Replies)
Hi,
I've been trying to write a regex to use in egrep (in a shell script) that'll fetch the names of all the files that match a particular pattern. I expect to match the following line in a file:
Name = "abc"
The regex I'm using to match the same is:
egrep -l '(^) *= *" ** *"$' /PATH_TO_SEARCH... (6 Replies)
i want to replace mistaken quotes in line starting with tag 300 and relocate the quote in the correct position so the input is
223;25
224;20100428064823;1;0;0;0;0;0;0;0;8;1;3;9697;18744;;;;;;;;;;;;
300;X;Event:... (3 Replies)
We have several HP FX-890 printers set up on our UNIX server to print invoices. All of the printers should be set up the same way (i.e. same margins, same paper height, etc). Our printer named invoice4 is now printing like the margins are shorter than the other printers. By that I mean it will... (9 Replies)
Hi All ,
We have source data file as csv file and since data could contain commas ,each attribute is quoted into double quotes.However problem is that some of the attributa data also contain double quotes which is converted to double double quote while creating csv file
XLs data :
... (2 Replies)
From:
1,2,3,4,5,This is a test
6,7,8,9,0,"This, is a test"
1,9,2,8,3,"This is a ""test"""
4,7,3,1,8,""""
To:
1,2,3,4,5,This is a test
6,7,8,9,0,"This; is a test"
1,9,2,8,3,"This is a ''test''"
4,7,3,1,8,"''"Is there an easy syntax I'm overlooking? There will always be an odd number... (5 Replies)
Discussion started by: Michael Stora
5 Replies
LEARN ABOUT DEBIAN
css::dom::exception
CSS::DOM::Exception(3pm) User Contributed Perl Documentation CSS::DOM::Exception(3pm)NAME
CSS::DOM::Exception - The Exception interface for CSS::DOM
SYNOPSIS
use CSS::DOM::Exception 'SYNTAX_ERR';
eval {
die new CSS::DOM::Exception
SYNTAX_ERR,
'1 is not a valid property declaration'
};
$@ == SYNTAX_ERR; # true
print $@; # prints "1 is not a valid property declaration
";
DESCRIPTION
This module implementations the W3C's DOMException interface. CSS::DOM::Exception objects stringify to the message passed to the
constructer and numify to the error number (see below, under 'EXPORTS').
METHODS
new CSS::DOM::Exception $type, $message
This class method creates a new exception object. $type is expected to be an integer (you can use the constants listed under
'EXPORTS'). $message is the error message.
EXPORTS
The following constants are optionally exported. The descriptions are copied from the DOM spec.
INDEX_SIZE_ERR(1)
If index or size is negative, or greater than the allowed value
DOMSTRING_SIZE_ERR(2)
If the specified range of text does not fit into a DOMString
HIERARCHY_REQUEST_ERR(3)
If any node is inserted somewhere it doesn't belong
WRONG_DOCUMENT_ERR(4)
If a node is used in a different document than the one that created it (that doesn't support it)
INVALID_CHARACTER_ERR(5)
If an invalid character is specified, such as in a name.
NO_DATA_ALLOWED_ERR(6)
If data is specified for a node which does not support data
NO_MODIFICATION_ALLOWED_ERR(7)
If an attempt is made to modify an object where modifications are not allowed
NOT_FOUND_ERR(8)
If an attempt was made to reference a node in a context where it does not exist
NOT_SUPPORTED_ERR(9)
If the implementation does not support the type of object requested
INUSE_ATTRIBUTE_ERR(10)
If an attempt is made to add an attribute that is already inuse elsewhere
INVALID_STATE_ERR(11)
If an attempt is made to use an object that is not, or is no longer, usable
SYNTAX_ERR(12)
If an invalid or illegal string is specified
INVALID_MODIFICATION_ERR(13)
If an attempt is made to modify the type of the underlying object
NAMESPACE_ERR(14)
If an attempt is made to create or change an object in a way which is incorrect with regard to namespaces
INVALID_ACCESS_ERR(15)
If a parameter or an operation is not supported by the underlying object
SEE ALSO
CSS::DOM, HTML::DOM::Exception
perl v5.10.1 2010-12-10 CSS::DOM::Exception(3pm)