i have a simple script that take information parses it and saves it to a external document. but when i leave the page and then go back to it, i cant see the information i inputed it normaly takes a while WHY IS THAT? and also sometimes when i hit back and then forward it inputs it twice whys is that
@somelist = ("1", "2", "3", "4");
foreach $list (@somelist)
if($list eq 4)
{open FIL, ">>1file.txt")
}
else {
(open FIL, ">>2file.txt")
}}
--------------------------
now heres the problem the program is gonna open both files 1file and...
im like the subject im new to c im currently reading C for MeatHeads (eheh ok dumbies) and i followed the book and im using mircle c to write and compile but my first script (not counting hello world) wont work i followed the book and it jsut dont seem to get it why it doesnt work take a gander...
@vaibak = <FILE>;
print BAK "@complete @varibak";
when i try to run this i get an error it says i need to write it this ways
print BAK "@complete \@varibak";
whats the difference!!!!!!!!!!!!
I have begin to think that anything javascript does perl can do and some more... is this true? i have seem really powerful java chat rooms with nice graphic interface can perl do this witht he nice interface?
i been working with perl for about almsot a month now and i created my own full power (with a few bugs) database that i can always access with the internet, but i notice how my form always revoled around form tags <input type=text> or always parseing data and useing results is perl seem to be a...
is there a way to write folder and files on to someone else scomputer; i do realize this is a HUGE security risk but is there away with comformation from the user?
i know how to use the return in a modules to send info to the script but how do i send data to a module.
not sure if this works right...
--EXAMPLE--
(script.pl)
use crunch;
$user_input = 2;
print &crunch;
(crunch.pm)
sub crunch {
$user_input = 4;
$result = ();
return $result = $user_input + 4...
How do i stick thing between ever element in a list like say i got a list called
@somelist =(1, 2, 3, 4);
the print would be 1234 how do i stick - between each elements. like so
1-2-3-4
I want a user to open an text files or a html(dont worry im using perl script to read the tags instead of interpeting it) file but i want the words to be <b>displayed</b> in a form textbox field so the user may alter the source at there disposal.
The following script does the following, find the file test.txt and rename its to rntest.txt and displays test was successful or Renaming failed or file may not exsist. now this is a tset script and if this script was executed it will only display test was successful once and ever other try...
The following script does the following find the files test.txt and rename its to rntest.txt and displays test was successful or Renaming failed or file may not exsist. now this is a tset script and if this script was executed it will only display test was successful once and ever other try...
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.