I have a series of html files in a directory on a unix server and, using perl, I'm wanting to pull out all of the links within an a href link.
For example, given a file with the following c...
How can I regex extract HELO and RDNS from this string using Perl? In this case, the HELO is "testyhelotest" and the RDNS is "ec2-174-129-236-104.compute-1.amazonaws.com".
Received: from t...
Hi
From below i want to write to a file getting timestamp of file and 150263793. removing tshirt1 and png at end of file.
Oct 20 08:07 /share1/v_images/ugimages/150/263/793/tshirt1-150...
Hi
I want to find list of files with ends with ugi.png directory and sub directory and list them with time stamp. See below
/000/993/012/ugi.png
Thansk
Hi All,
I have a .net application used to fetch few groups and their users using LDAP. I am using DirectoryEntry, DirectorySearcher classes to achieve the same.
Now we need to develop the ...
I am moving a perl script from a Sun server to a Redhat server and have come across a very strange problem. My knowledge of UNIX/Linux/Perl is quite poor but we have nobody with more knowledge...
I'm trying to pass a perl script a file name as an arguement using getopt::long::getoptions
can't seem to be able to pull the argument into filename, the getopt line was pulled off the inte...
Hi,
I have a couple of websites and I have my URLs in camel case (/AboutUs, /FAQs, etc.) I'm told this is not very good for SEO. Unfortunately, the articles I'm finding online are not ...
I need to send a SOAP message to a server. The message should like like this
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:cpx="http://CPX.org/">
<soap:Header/...
Hi All,
I was doing some text editing and stuck at this point and I need some help from you guys.
there are certain lines for ex:
/apps/abc_xyz
/apps/pqr_xyz
/apps/hello_xyz
/apps/hi_x...
Hello,
I would like to list/print all the processes in the system which is having 'DL' state in the output of 'ps auxwww'
using perl. Could someone let me know how can I achieve the same ?...
I have parse through a directory and get the all the files Named something like this TestEMEA_20090918.txt and TestEMEA_testing.txt
So anything with the prefix of TestEMEA has to retreived fr...
I created my first perl script that uses fork() to spawn child processes. However, I am leaving behind lots of defunct processes:
root 32766 11563 0 12:03 ? 00:00:00 [sh] <defu...
I have a perl script which inserts into a table from an text box on a web page.
I am getting the error below and it is not picking up the value in $shiftLocationVal.
The html and...
i need to format a decimal number in this format 5 digits before the decimal and 5 digits after the decimal. BUt the thing is if the number if 10.45 it shd be made to 00010.45000 using Perl. p...
my $dVl = $camelid->getElementsByTagName('dVl');
$dVl eq "OFF" ? print "1" : print "2";
Operation "eq": no method found,
left argument in overloaded package XML::LibXML::NodeList,...
After much wasted time trying to install libxml on windows I'm falling back on XML::Simple and would appreciate some pointers on accomplishing my task. I described the whole problem in case it...
I'd like to only print what was added or deleted,
not the content of the whole page in addition to what
was added or deleted.
Hi All,
I've got a nagios check that logs into our RPC's and pulls the AMP status, its been working great. Today my boss asked if I can somehow get this information into mysql as well for ...
How can i retrieve individual elements from data strcuture like this
$out = [
'Batch',
'Risk'
];
hi
i have a source file.tsv (tab separated) as shown below.The second column are raw urls. some of these urls have & as in line 1 and 3 in the xample below.
i want to do the following
...
I have a perl script that should pull data from a file called Stateerror located in /tmp/tmp/errors directory. Inside the Stateerror file are lines of data that should be parsed and placed i...
I have a file that has some information that I need to extract.
The problem is that the information is separated by line, and each line has a code that identify the parameter.
I need to ...
I am trying to extract the information contained between each of the bracket pairs on this text string. The format is the same each time although the information contained between the brackets...
I know this isn't that hard but I just can't get it figured out correctly:
I have a development server running apache on port 9012 and I for the life of me can't get this command to bring t...