Sponsored Content
Top Forums Shell Programming and Scripting Perl: Variable input via HTML Post 62198 by Neo on Sunday 13th of February 2005 05:32:45 PM
Old 02-13-2005
... and cbkihong should know, he wrote an extensive, 241 page book on PERL!

cbkihong's PERL book

Great job!
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

perl and html

hi. im very new to perl. is it possible to fill up a web form and submit it using perl? example, i would like to sign up for a yahoo account though a perl script (ofcourse, granting the "type the characters as shown in imgage" is absent)? (8 Replies)
Discussion started by: marcpascual
8 Replies

2. Shell Programming and Scripting

HTML parsing by PERL

i have a HTML report file..its in attachment(a part of the whole report is attached..name "input html.doc").also its source is attached in "report source code.txt" i just want to seperate the datas like in first line it should be.. NHTEST-3848498958-NHTEST-10.2-no-baloo a and so on for whole... (3 Replies)
Discussion started by: avik1983
3 Replies

3. Shell Programming and Scripting

Pulling Input from HTML into Shell

I am trying to add to a Web page that I have, the ability to have users make requests as long as they key in a password. Can anyone help me with validating the text from the text field on the Web page into UNIX? Please let me know if I need to be clearer. Thanks, (1 Reply)
Discussion started by: mosammey
1 Replies

4. Shell Programming and Scripting

Perl + Korn + HTML

I have a perl script that prints up the html code and executes a few korn scripts to populate the web code. Disclaimer === I can throw together some korn scripts pretty quick. This code changes pretty frequently. I don't know enough about perl to do everything I need. One day maybe I'll get... (4 Replies)
Discussion started by: i9300
4 Replies

5. Shell Programming and Scripting

Perl - pass shell-vars into perl for input loop

I need to process a file line-by-line using some value from a shell variable Something like:perl -p -e 's/$shell_srch/$shell_replace/g' input.txt I can't make the '-s' work in the '-p' or '-n' input loop (or couldn't find a syntaxis.) I have searched and found... (4 Replies)
Discussion started by: alex_5161
4 Replies

6. Shell Programming and Scripting

Replacing variable values in html tags

Hi please help me with this . I have a file test.txt with following content $cat test.txt <td>$test</td> <h2>$test2</h2> and I have a ksh with following content $cat test.ksh #!/bin/ksh test=3 test2=4 while read line do echo $line done < test.html I am expecting the output as (4 Replies)
Discussion started by: panduandpavan
4 Replies

7. UNIX for Dummies Questions & Answers

HTML: Display contents of file using Variable

<tr><td bgcolor=#D7EBAD><b>Instructions :</b></td> <td>`cat temp.txt`</td></tr> Hi Experts, I have an requirement of displaying file contents in HTML mail , for which am using the above approach, Where as the output is kind of not as expected. If there are 5 lines in the file, in the... (4 Replies)
Discussion started by: scott_cog
4 Replies

8. Shell Programming and Scripting

XML variable for input in same input file

Dear All , i stuck in one problem executing xml .. i have input xml as <COMMAND name="ARRANGEMENT.WRITE" timestamp="0" so="initial"> <SVLOBJECT> <LONG name="CSP_PMNT_ID" val="-1"/> <MONEY name="CSP_CEILING" amount="0.0" currency="AUD"/> ... (6 Replies)
Discussion started by: arvindng
6 Replies

9. Shell Programming and Scripting

Input data of a file from perl into HTML table

Hi , I need an help in perl scripting. I have an perl script written and i have an for loop in that ,where as it writes some data to a file and it has details like below. cat out.txt This is the first line this is the second line. .....Now, this file needs to be send in mail in HTML... (2 Replies)
Discussion started by: scott_cog
2 Replies

10. UNIX for Advanced & Expert Users

Passing variable as input & storing output in other variable

I have a below syntax its working fine... var12=$(ps -ef | grep apache | awk '{print $2,$4}') Im getting expected output as below: printf "%b\n" "${VAR12}" dell 123 dell 456 dell 457 Now I wrote a while loop.. the output of VAR12 should be passed as input parameters to while loop and results... (5 Replies)
Discussion started by: sam@sam
5 Replies
HTML::FormFu::Filter::FormatNumber(3pm) 		User Contributed Perl Documentation		   HTML::FormFu::Filter::FormatNumber(3pm)

NAME
HTML::FormFu::Filter::FormatNumber - Convert a formatted number from a known locale SYNOPSIS
This filter simply does the opposite of HTML::FormFu::Deflator::FormatNumber. It removes all thousands separators and decimal points and returns the raw number which can be handled by perl. See "unformat_number" in Number::Format for more details. locale: de_DE elements: - type: Text name: number filters: - type: FormatNumber # An input value like "13.233.444,22" will be transformed to "13233444.22" # Same for "13233444,22" METHODS
locale If no locale is found, the server's locale will be used. This method is a special 'inherited accessor', which means it can be set on the form, a enclosing block element, the field, or this filter. When the value is read, if no value is defined it automatically traverses the element's hierarchy of parents, through any block elements and up to the form, searching for a defined value. AUTHOR
Moritz Onken, "onken at houseofdesign.de" SEE ALSO
Is a sub-class of, and inherits methods from HTML::FormFu::Filter HTML::FormFu::Deflator::FormatNumber HTML::FormFu COPYRIGHT &; LICENSE Copyright 2008 Moritz Onken, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2011-05-10 HTML::FormFu::Filter::FormatNumber(3pm)
All times are GMT -4. The time now is 10:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy