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.
When you declare the variables with my,., Perl considers those values more important than the variables in the required file
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,
I thought I would try this one more time. I am sorry for being so bad at communicating what I want to accomplish.
Below is an example of a call made to the sub CountCurrentRecords() and missbarbell's improved sub routine sub CountCurrentRecords().
The example shows the call using a FILE...
missbarbell,
Thanks so much for your help.
I am probably missing something here but where does the subroutine get called in the revised line and how is it passing the array instead of the filename like in the old line?
Cal
my $numberoflines = @array;
numberoflines =...
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 =...
...on line
sub EOL { ($item+1) % $cols == 0 }
# now process each item, picking out proper piece for this position
for ($item = 0; $item < $rows * $cols; $item++) {
my $target = ($item % $cols) * $rows + int($item/$cols);
my $piece = sprintf($mask, $target < @data ? $data[$target]...
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...
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.