hi, i am using the unix opearting system. I have attached the code It is still not able to kill the process Thanks in advance Avinash ... process ... All your...
... The code may have gotten stripped as a "non-text attachment". Try pasting the relevant portion(s) in-line. A few things could keep you from being able to...
Avinash, The last suggestion which surrounded the kill command with grave accents (`kill -9 PID`) was essentially causing perl to spawn a process and running...
... Glen> The last suggestion which surrounded the kill command with grave Glen> accents (`kill -9 PID`) was essentially causing perl to spawn a Glen> process...
Hi, I am fairly new to Perl and have written some Perl to interface with an API that comes with an application i am working with. I now need to bypass the API...
hi, i am killing all the process that are displayed using the ps command. but doing that the particular unix session also terminates. so how to prevent the...
Example string $Data=":2-Name1:4-Name2:3-Name3:1-Name4:"; I need to get the following info ... But All I can search with is ... In other words I know it starts...
#!/usr/bin/perl use strict ; my @Name; my $Name; my $X = 1; my $Y = 2; my $Data=":2-Lou-14:4-Bobby:3-Tine13:1-jack 23:"; my $Info = ($Data =~ /:$Y-(.*?):/); ...
The main problem with your attempted solution is that .* is greedy. This means that the colon it would find is the last one on the line. Greedy means that .*...
Thanks for the responce Glen If you going to ask why I don't use MySql... I have not had time to figure out who to use it... I am just now begining to grasp...
hi, I am trying to find particular words in text files(i.e. *.txt files) Should i use regular expressions in doing? Thanks in advance Avinash ... Get the...
Hi, Actually i want to check if a environmental variable in perl script, which is present in oracle database has been already set its path in hash table in...
Hello Avinash, yes u can easily find the word and its line through regx. here i have just given a simple example to your reference. im also preparing the perl...
Avinash, Here's one solution. Darren ==== #!/bin/perl/bin ### ### title: pgrep ### author: darren miller ### ### perl alternative to UNIX grep command, ###...
... Here is a small exercise that I have prepared. This is meant for someone who wants to learn Perl. Exercise 1. In a Perl script, accept command line...
... If you are referring to Windows Registry, then check out these modules: Win32::TieRegistry, Win32::TieRegistry::Dump, and Win32::Registry::File Cheers ...
... for ... How do you lear or leanr Perl? Your best offline resource for learning Perl would be: Programming Perl 3rd edition by Larry Wall, Tom Christiansen,...
Hi, I have to create a script to read a zip files of a folder and then extract all those zip files to another destination inside a folder created with the name...
Hi, I have created a script to extarct a set of zip files in a particular folder to another destination . In the destination folder a folder would be created...
If you are completely new to scripts and programs then, PERL in 21 days might help you.. just PRACTICE it before going to Programming PERL - Larry Wall .. ...
Hi, I'm pretty new to Perl and need some help! I am working on a project that requires 4 forms on the same page. I would like to be able to submit each one...
... Hi, The solution is HTML related. All that you have to do is to add "target" attribute to the <form> element: <form ... target="_blank" >. In this case the...
Andy, I think the best way to accomplish what you're trying to do is to use AJAX. AJAX allows you to use JavaScript to issue an HTTP POST or GET without...
... You write a script that calls itself. Here is a simple calculator example, but remember that it has to be run on a server. It uses cgi to send the entered...
Hi, Thank you both very much for you responses. I will try putting "target='blank'" in my form tag first since that is the easiest but I will definitely check...
Hi, I know this isn't strictly a Perl problem but it is in a Perl script so I thought I would ask anyway. On my site I have a simple flat file database. Each...
Hi, I am basically new to wbeservices using PERL. I have a perl script that I need to service enable and this service nneeds to be called by a non-PERL client....