... On Behalf Of c_dito ... This "(\d+\/\d+\/\d+)" in the above regex means series of digitis separated by /, which is evidently 1/0/12 in your case. To...
Hello, I solved the previous problem, but I have a new one. I try to upload an image in the filesystem rather than in a database, using the following code...
kjhseka <> wrote: [snip] ... Have you tried uploading using the perl binmode() function? It changes the way line endings are processed on systems which...
Hi, I want to compare two files and print out the lines which are common to both files There is utility in unix called "comm" comm - select or reject lines...
... pkkjb> I want to compare two files and print out the pkkjb> lines which are common to both files pkkjb> There is utility in unix called "comm" pkkjb> comm...
Hai Pk, Although there are lot of logic to compare two file, i have come up with simple logic. PLease see that this program helps u.. #!/usr/local/bin/perl use...
Bonjour, Ne serait-il pas plus pédagogique de poster une bonne solution ? merci d'avance, Georges ... NetCourrier, votre bureau virtuel sur Internet : Mail,...
Thanks for your dirction. Here is what I did: !/home/tools/bin/perl #script to print out [common or unique] lines from file2 compared to file1 die "USSAGE : $0...
Hi Please check the following code. I am the beginner in perl Actually there are some files in one directory say with extensions .txt and .doc I need to...
Hi I am new to CGI/perl scripts. Just now I have started creating a web site called http://www.abapmaster.com Currently I am writting CGI for login screen. My...
Hai Folks, Greetings to all of you..... My Name is S. Krishna Prasad and you can call me Krish. I'm an upcoming programmer (Beginner) in Perl. I want to learn...
Hai Folks, I need your help. How to access a remote system whose IP address is known and I want to modify the content of a particular file. For e.g. a file...
Which service(s) is the server running? If it has a telnet server then just use a telnet client. You will of course need access rights ! ... From: Krishna...
mount the file directory to a particular location. u can use "system" command in perl to mount a folder. after mount u access using normal file open code. ...
I have a very simular situation. Unfortunatly we do not have Array installed on our Unix system. Does anyone else have a solution? Thanks Scott Roth Ohio State...
... Scott> I have a very simular situation. Unfortunatly we do not have Array Scott> installed on our Unix system. Does anyone else have a solution? It's not...
I'm trying to read data from a FIFO file (from another application), Reading the data isn't the problem...I'm basically using $msg=<FIFO>. The problem is I...
Hi people, I am newbie to perl..i have a doubt... I want to create some 20 arrays using a 'for' loop something like @A1 @A2 @A3....@... this possible..?? i...
didn't clear with your requirement , in loop u can create n number of Arrays but u want to only creation of arrays or also want to store values in that array...
To Ravish.. Thanks for the concern.... i want to create arrays as well as store values in them...by splitting a variable....using 'split'. Rgds Harish ... ...
... Let me start with the error you got. I assume you're using a standard Perl 5 installation. In this case, assigning a value to an element of an array, which...
Does 'r' appear anywhere else than the location that you require? What exactly do you mean by "take" ? Is it copy all of the r's that are together at that...
Hai David, Greetings..... Say your filename containing the below data is "data.txt", your code should be like this. open(TXT,"data\.txt"); while(<TXT>) { if($_...
... Kishore> Hi all, Kishore> I've seen few scripts which have perl with -U option in the first line.. Kishore> #! /usr/local/bin/perl -U Kishore> can anyone...
Hi all, I've seen few scripts which have perl with -U option in the first line.. #! /usr/local/bin/perl -U can anyone please tell me what it is? -- KISHORE ...
Hello, I'm looking for a tried and true module for parsing the output of the uname command but have not been able to find one. My goal is to parse out the full...
I am trying to ignore the zero values in a specific column.... My source file looks like this 002-1241958-363521 B00087L1N 0 1 002-1241958-363521 B007KQWGO...