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.
In reply to Re: Print array, splitting into 2 strings
by Samy_rio
in thread Print array, splitting into 2 strings
by hmag
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |