07-28-2011
Yes, this is resolved. Silly mistake on my behalf. However a question I do have is there a way to show you have JS(javascript) enabled within perl?
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Scripting Gurus, I am new bee in perl, and trying to write a script which must print the free disk space availability of C and E drives. Please advice.
Here is the script snippet and expected output:
#!/usr/bin/perl
use CGI qw/:html3 :standard/;
$spaceuselog =... (4 Replies)
Discussion started by: ccsaviour
4 Replies
2. Shell Programming and Scripting
Hi All,
I have the following sql query
select abcd from udbadm.log where xyz='1'.
I have 16k queries similar to this with different values for xyz.
I want to print the values of 'abcd' for each row.
I have the following perl code, but not sure how i can print that particular... (1 Reply)
Discussion started by: userscript
1 Replies
3. Shell Programming and Scripting
Hey Guys,
I have some weird problem with printing scalars ...
When I'm executing script both are printing in terminal ...
But only one is printed to the file ?
I don't know whats going on .. :)
Btw .. I'm noobie :) took me lots of time to put this simple script together :)
Thank you... (3 Replies)
Discussion started by: NDxiak
3 Replies
4. Shell Programming and Scripting
Can we please modify this perl one-liner to print lines between pattern1 and pattern2 in a file?
Currently it prints lines till pattern2. (4 Replies)
Discussion started by: anand_bh
4 Replies
5. Shell Programming and Scripting
I have a script which is supposed to log in to my vB account and print my security token, however doesn't seem to work globally. The logging in works perfectly just will not retrieve and print the security token for every forum I log in to. Code Below:
#!/usr/bin/perl
use LWP::UserAgent;
... (8 Replies)
Discussion started by: AndrewTwain
8 Replies
6. Shell Programming and Scripting
Hi,
I have a file with lines like this.
2 7 18 ggcgt anna
2 7 18 hhchc sam
3 7 18 hhdjcc ross
4 7 18 hhcjd jenny
0 8 21 jjdhs sam
3 8 21 kkok bush
2 9 24 kosss BrenhamIf the values of the second column are equal, print only those lines with the least first column value. So in... (5 Replies)
Discussion started by: polsum
5 Replies
7. Shell Programming and Scripting
Hey guys i am using perl and trying to pull a list of books from a database and then populate the list in a separate TT2 file. When the list is generated there should be 39 book names. When I do the foreach statement in my tt2 below, the first statement gives me 39 Array(random number) and the... (1 Reply)
Discussion started by: Joey12
1 Replies
8. Forum Support Area for Unregistered Users & Account Problems
I got this message while submitting a reply to a thread. I could submitt the replies till yesterday but today it shows me the following message
"Your submission could not be processed because a security token was missing."
What should I do to resolve this? (1 Reply)
Discussion started by: Akang
1 Replies
LEARN ABOUT DEBIAN
html::widget::container
HTML::Widget::Container(3pm) User Contributed Perl Documentation HTML::Widget::Container(3pm)
NAME
HTML::Widget::Container - Container
SYNOPSIS
my $container = $form->element('foo');
my $field = $container->field;
my $error = $container->error;
my $label = $container->label;
my $field_xml = $container->field_xml;
my $error_xml = $container->error_xml;
my $javascript_xml = $container->javascript_xml;
my $xml = $container->as_xml;
# $xml eq "$container"
my $javascript = $container->javascript;
DESCRIPTION
Container.
METHODS
as_xml
Return Value: $xml
_build_element
Arguments: $element
Return Value: @elements
Convert $element to HTML::Element object. Accepts arrayref.
If you wish to change the rendering behaviour of HTML::Widget; specifically, the handling of elements which are array-refs, you can specify
"container_class" in HTML::Widget::Element to a custom class which just overrides this function.
build_single_element
Arguments: $element
Return Value: $element
Convert $element to HTML::Element object.
Called by "_build_element".
If you wish to change the rendering behaviour of HTML::Widget; specifically, the handling of an individual element, you can override this
function.
build_element_error
Arguments: $element
Return Value: $element
Called by "build_single_element".
If you wish to change how an error is rendered, override this function.
build_element_label
Arguments: $element, $class
Return Value: $element
Called by "build_single_element".
If you wish to change how an element's label is rendered, override this function.
The $class argument is the original class of the element, before "build_element_error" was called.
as_list
Return Value: @elements
Returns a list of HTML::Element objects.
element
field
Arguments: $element
"field" is an alias for "element".
element_xml
field_xml
Return Value: $xml
"field_xml" is an alias for "element_xml".
error
Arguments: $error
Return Value: $error
error_xml
Return Value: $xml
javascript
js
Arguments: $javascript
Return Value: $javascript
"js" is an alias for "javascript".
javascript_element
Return Value: $javascript_element
Returns javascript in a script HTML::Element.
javascript_xml
js_xml
Return Value: $javascript_xml
Returns javascript in a script block.
"js_xml" is an alias for "javascript_xml".
AUTHOR
Sebastian Riedel, "sri@oook.de"
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2007-03-01 HTML::Widget::Container(3pm)