Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Print array, splitting into 2 strings

by Samy_rio (Vicar)
on Mar 24, 2006 at 09:13 UTC ( #538977=note: print w/replies, xml ) Need Help??


in reply to Print array, splitting into 2 strings

Hi hmag, Try this,

use strict; use warnings; while (<DATA>){ chomp; my ($firstpartofsplit, $secondpartofsplit) = split /=/, $_; print "<input type=text name =\"$firstpartofsplit\" value=\"$secondpar +tofsplit\">\n"; } __DATA__ binary_app=/usr/bin/true config_file=/etc/inetd.conf MOD_NAME="ABC"

You should view How (Not) To Ask A Question

Regards,
Velusamy R.


eval"print uc\"\\c$_\""for split'','j)@,/6%@0%2,`e@3!-9v2)/@|6%,53!-9@2~j';

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://538977]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2018-08-14 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (150 votes). Check out past polls.

    Notices?