Hello ,
I have looked everywhere for what will resolve this error.
Can anyone shed any light on this for me.
Thanks
Tim
In the begining
Let us first assume that there was nothing to begin with.
Hello ,
I want to use todays date and a date of birth to calculate how many weeks old a dog is.
Thanks
In the begining
Let us first assume that there was nothing to begin with.
Greetings,
How do I go about substituting the pound sign?
my $OLDSTUFF1 =~ s/##/ /g;
Thanks
Cal
In the begining
Let us first assume that there was nothing to begin with.
Greetings All
What is the best way to convert the Day_of_Year to text.
I dont see anything in the DATE::CALC module.
Any Ideas
Thanks Cal
In the begining
Let us first assume that there was nothing to begin with.
Greetings to all,
I am having a problem when accessing the data from a PM file. Unless I actually put a value into the scalar there is NO data.
I have used require before with no problems . I dont understand what I have done that could break it.
Anyway this is what the print statement says...
Hello ,
I have run into a problem while writing @arrays to a subroutine. I am concantenating the result from the subroutine words() to four different tables.
The first 2 lines return the correct results without any problem the second 2 lines produce an endless loop...
Hi,
Using this as an example I was trying to understand how to create the code below using an @array rather than a FILE when calling a sub-routine. I am not clear if this is possible or if I am just going about this all wrong.
Thanks for any assistance.
numberoflines =...
Hello All ,
I found this code in the perl cookbook. So I was tyring to understand how to call it as a sub from a main script.
Thanks
cal
sub words{
my ($item, $cols, $rows, $maxlen);
my ($xpixel, $ypixel, $mask, @data);
getwinsize();
# first gather up every line of input,
#...
Hello all
I have this little for each loop that sorts data field $rec->[3] numerically first then alphabetically. The $rec->[3] data fields only contain the numbers (1,2,3,4).
I would like all the sorted data where
$rec->[3] data fields contain the number (1) to be put into a seperate...
Hello, I am trying to get this save() sub to use sortRecordByDate() so when the records are written to the database file thery are already in correct order by date.
Thanks
Tim
################### save ##########################
sub save{
my ($self)=@_;
my $fileName =...
Hello,
I am probably doing something silly in this script but here it goes.
I am having a problem returning the day_of_week value when using a DATE::CALC module function. When I comment the function call out all the data prints but when I uncomment it just the header prints. I am able to print...
Greetings,
I have (3) pulldown menus. Month, Date and Year. I need to convert the user selections from these pulldowns to the coresponding day of the week.
What would be the best way to do that?
Thanks
Cal
Hello All,
I have noticed the file size is now huge when I convert publisher documents to HTML. There seems to be alot of the famous microsoft text formatting.
My docs are around 90k as were they used to be usually half of that or less in previous versions of publisher how can I reduced the...
Hello,
How does one remove any instances of special characters in a string.
Thanks In the begining
Let us first assume that there was nothing to begin with.
Cheers everyone,
I am working on a script that fiqures out wheter or not to update and what text to update on a web page. I thought this would be simple bu it is not I am having problems.
The script iterates through a directory storing the real filenames in a variable named @found_files.
T I...
What is the best way to validate an address field? I want to make sure there are numbers as well as the street name in the address field.
Thanks In the begining
Let us first assume that there was nothing to begin with.
Hi, Does anybody know if the . inbetween $title & shtml is legal in this open line.
Thanks
open(FILE, "+> ../reflections/archive/$title.shtml "); In the begining
Let us first assume that there was nothing to begin with.
Hello,
Every time I substitute these variables only the $code variable prints. I never see the $stats variable print.
I have tried many variations but I am clearly not interpreting something correctly.
Any Ideas
Thanks
my $statholder = "<BODY>";
my $code = "<BODY>";
my...
Hello,
I am trying to make this sub write either to the begining or the end of the file. The variable $placement indicates which process will execute. This variable is then used in the if statement inside the sub routine below.
The print statement print DB "$record\n";
prints to the...
Hello,
Currently my script has a use GD;line at the begining.
I thought that this invokes the GD module residing in the MAIN perl app on the server.
I want to use the GD module that is loaded locally to my script within my cgi-local directory not the servers cgi-bin.
How do I do this?
Thanks...
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.