hi , is there any way to open the file and put it in the ram and use it time to time because i have a code below there iam opening the files too many time thats why my script is taking too much time to complete so is there some thing which iam missing ,
# Calculate compansation...
hi i have a text file like this
NAME PRICE
FSCCLIWEWW 2,89
SFGAAJAKLK 10,290
SHAGAJHGAS 80,54
|
TAB
NOW I WANT TO LOAD THIS DATA IN TO MYSQL TABLE
LOAD DATA LOCAL INFILE "C:/MST_FI_TEST.TXT" INTO TABLE TEST
FIELDS TERMINATED BY '\t';
now...
Hi all i would like to know how can i secure the perl code it self or compile the perl code so that no body can view the code when i put it on the server to run
Hi , I would like to know how to get data from textfile to hashes .
now i have a textfile which looks like this
name=>Jhon
id=>102100
address=>linnoituksentie 10
now i want fetch the data from this file in a hash but keys are going to name,id,address and values are going to be...
Hi Iam new With Perl i would like to know who to connect a any database with perl and what is the way to create a perl.pm file like when we create a class in java which is like i have a code in java where i create a business class . i want to create a same class in perl
Code:
package...
Hi Iam new With Perl i would like to know who to connect a any database with perl and what is the way to create a perl.pm file like when we create a class in java which is like i have a code in java where i create a business class . i want to create a same class in perl
Code:
package...
Thanks Soo Much for ue reply it worked but now i have another problem coming up i would like to know how can i save the $Message variable in a datafile and when i want to get the $message variable value from datafile how can i do that and file will always have one value when ever i input the...
#####Display Text Box where Veli can Input The message by him self########
my $password;
my $Message;
print start_html('Massage'),
start_form,
print "<table align=center width=600 border=0 cell padding=3 cellspacing=1>";
print...
#####Display Text Box where Veli can Input The message by him self########
my $password;
my $Message;
print start_html('Massage'),
start_form,
print "<table align=center width=600 border=0 cell padding=3 cellspacing=1>";
print...
Thanks man you have given very quick responce but actually there is one little problem that my datafile is very big it has like 50000 rows so now the program is crashing and taking too much time to fetch the data and put it in array . so now the code i have is below .
#!/usr/bin/perl -w
use...
Hi iam new in perl i have a data file which looks like
(this is value) (price) (Currency)
| | |
FCWQBF1NVBAIN 734,54 SEK
FCWQBF1NVBBIN 550,91 SEK
FCWQBF1NVBCIN 462,76 SEK
FCWQBF1NVBEIN 315,95 SEK
FCWQBF1NVBHIN 146,93 SEK
. | |
. tab...
iam creating a cgi page of offer calculator and the code which i have rite now is ...
#!/usr/bin/perl -w
use CGI qw(:all);
print header;
##creating html page
print start_html('Offer Calculator'),
h1(' Offer Calculator'),
start_form,
"Work Station Product: "...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.