8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
In a shell script, I want to declare an array and subsequently print the elements with tab delimits.
My array has the following structure and arbitrary elements:
myArray=('fgh' 'ijk' 'xyz' 'abc');
Next, I would like to print it with a '\n' at the end.
Thanks for your input!
... (2 Replies)
Discussion started by: Gussifinknottle
2 Replies
2. Programming
Hi everyone, :)
I'm trying to make a simple C program that scans an array of chars to see if its elements are similar.
I can't understand what's wrong. Could you help me to fix this? Here is the code.
Thanks!
#include<stdio.h>
int main() {
int arr;
int i, len;
int flag =... (10 Replies)
Discussion started by: IgorGest
10 Replies
3. Shell Programming and Scripting
Hello,
I want to select first element from 2 to 3 files how I would do that. e.g my input files are:-
file1=(1,2,3,4)
file2 =(1,2,3,4)
file3=(1,2,3,4)
output should be
outputfile=(1,1,1,1) (12 Replies)
Discussion started by: shazo
12 Replies
4. IP Networking
for testing network elements which of the below is TRUE
a)Thorough understanding of RFC s/ IETF standards is enough.
b)One has to know design specifications along with standards and specification.
c)Understanding customer requirements is required for acceptance test only and not for... (0 Replies)
Discussion started by: venkatadilip
0 Replies
5. UNIX for Dummies Questions & Answers
Hi All
I have a question.
I would like to edit some string characters by replacing with characters of choice located in another file. For example in sample file>S5_SK1.chr01
NNNNNNNNNNNNNNNNNNNCAGCATGCAATAAGGTGACATAGATATACCCACACACCACACCCTAACACTAACCCTAATCTAACCCTGGCCAACCTGTTT... (9 Replies)
Discussion started by: pawannoel
9 Replies
6. UNIX and Linux Applications
Hello Guys...
My customer is trying to use Control-M to schedule a batch file that runs my application and executes one Javascript, but he is facing problems with the graphical ellements from my application, that has a splash screen showing the name of the application, the license used and a... (0 Replies)
Discussion started by: ftrapnell
0 Replies
7. Shell Programming and Scripting
I just want to be able to take every 6 value out of an arrays
can someone tell me what i'm doing wrong? the data looks like
1500680,Treverbyn,397,1,2136,4420 and i want the 2 element treverbyn out of every row
#hour0.pl
my $url = 'http://en19.tribalwars.net/map/tribe.txt';
use... (1 Reply)
Discussion started by: frenchface
1 Replies
8. Shell Programming and Scripting
Hi,
Please can someone help to return the array elements from a function. Currently the problem I face is that tempValue stores the value in myValue as a string while I need an array of values to be returned instead of string.
Many Thanks,
Sudhakar
the function called is:
... (5 Replies)
Discussion started by: Sudhakar333
5 Replies
HTML::HTML5::Parser::Error(3pm) User Contributed Perl Documentation HTML::HTML5::Parser::Error(3pm)
NAME
HTML::HTML5::Parser::Error - an error that occured during parsing
DESCRIPTION
Note that HTML::HTML5::Parser is not a validation tool, and there are many classes of error that it does not care about, so will not raise.
The "error_handler" and "errors" methods of "HTML::HTML5::Parser" generate "HTML::HTML5::Parser::Error" objects.
"HTML::HTML5::Parser::Error" overloads stringification, so can be printed, matched against regular expressions, etc.
Constructor
"new(level=>$level, type=>$type, token=>$token, ...)"
Constructs a new "HTML::HTML5::Parser::Error" object.
Methods
"level"
Returns the level of error. ('MUST', 'SHOULD', 'WARN', 'INFO' or undef.)
"layer"
Returns the parsing layer involved, often undef. e.g. 'encode'.
"type"
Returns the type of error as a string.
"tag_name"
Returns the tag name (if any).
"source_line"
($line, $col) = $error->source_line();
$line = $error->source_line;
In scalar context, "source_line" returns the line number of the source code that triggered the error.
In list context, returns a line/column pair. (Tab characters count as one column, not eight.)
"to_string"
Returns a friendly error string.
SEE ALSO
HTML::HTML5::Parser.
AUTHOR
Toby Inkster, <tobyink@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011-2012 by Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.1 or,
at your option, any later version of Perl 5 you may have available.
perl v5.14.2 2012-03-19 HTML::HTML5::Parser::Error(3pm)