Hi experts,
I have main.pl and test.pl as follows. In test.pl, there are fun1 and fun2. My fun1 works fine, but my fun2 was not working. Basically, I want both fun1 and fun2 be able to get ...
How I add color and length to a horizonal reference <hr> tag.
How do I write "split on last digit followed by space and joined by <br>"?
And How do I write "split on first digit followed by space and joined by <br>"?
Hi,
I have a cgi script that I run on two web servers that uses Word OLE to open up a word doc, convert it to rtf and then we run some Omnimark on it.
It runs fine via the browser on the...
Can someone tell me how to convert a string to xml in perl ?
I want to collect InstName and InstID attributes from each node as perl varaiable $InstName and $InstID, then enter $InstName and $InstID into a mysql table.
I think it is something like th...
I would like a working example of using GraphViz (v2.0.3) to output a PNG to a browser session, hosted on a Windows Server (ActivePerl v5.8.8.882). I have seen the simple code example at:
ht...
Given this Perl string:
my $path = qq{/dir1/dir2/dir3/dir4/THIS.jpg}
What is the shortest amount of Perl code to extract 'THIS' from $path?
my $just_THIS=...solution here...
THIS w...
I have program in while loop
while(condition)
{
-----------------------
------------------------
$op_variable # this is ouput variable
@array=($op_variable) # I am t...
I repaired a miva installation that removed about 300 entries in the registry that I need to recreate. They are in the COMPUTERNAME\HKLM\SOFTWARE\MIVA\miva empresa nt\configuration\1\root\. ...
This is a complicated assignment for a programming class in perl that I am lost in trying to figure out. I can get the five cards from the top of the deck but shuffling using pop, shift and pu...
This should be simple - and for you experts I am sure it is. I have a log directory. Each log file has same beginiing of name - then a timestamp in the name when the log was first created. ...
THIS IS THE XML STRUCTURE I NEED ( for use with ADOBE SPRY Framework)
<photos id = "images">
<photo
path = "travel_01.jpg"
width = "263"
height = "350"
thumbpath = "travel_01.jpg"
t...
Hello,
How do I get Perl to recognize double quotes (") as an input argument? For example:
perl.exe invoke.pl TEST xmlns:ns1="http://www.example.org"
and I need the 2nd argument to ...
Hi everyone, hope you are all well and can help.
Guys im having a problem trying to grab the value from a querystring in a cgi perl script.
In another page, I can grab the value as follows...
I've the files in a my /home/work directroy as below
abc_123.txt
xyz_789.txt
sss_333.txt
hhh_999.txt
relfiles.txt
dummfiles.txt
I would like to loop thru the dircotry to filter only...
i have to parsing a log file in this format
19/8/1008 12:30:13 211411 23520128934 GEST_TK_CRM_WHOLESALE
19/8/1008 12:30:15 212806 23500033001 GEST_TK_CRM_WHOLESALE
19/8/...
I am trying to use a lib file in this program but when I execute Ctrl-D to use the functions from the lib file
i get errors . My question is how to call the routine from another file ?
...
Hello,
I'm writing a class that has a method to validate whether or not a string is a valid Hexadecimal color value.
The function below is how far I've gotten, it successfully validates a ...
I have a perl script that I want run every day. I use Dynamic One CMS, does anyone know how to get this as a cron job? I have already added the cron and put:
1 * * * * /usr/local/bin/php -q...
I'm new to perl & not familiar with it at all... I have a script that creates a browser session with
my $browser = LWP::UserAgent->new;
it is called like this $browser->get($page_url, ":...
Let me explain further:
I have this file as a result of a query about more than a thousand lines. It has a date and time on each line entry and stored in a file called maillog that looks l...
I am currently using this code (in summary) to loop through my array -- but after once through - it ends.
------------
@all_load_files = glob("${path_gfr}\\ess\\${cube}\\datafiles\\*_Parms....
I know this should be simple and have searched and tested for hours. I am executing a loop as part of the loop I want to rename a file, so the file does not get used again (I have this script...
I casually use open2 when I want to pipe to/from various programs. However, when I tried to read/write to one of my perl scripts, it failed to work and it is taking me too long to figure it ou...