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 =...
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,
#...
Thanks so much
It seems to work much better but I am still getting an error when trying to print. I guess there is something wrong with LINE 43. I marked it below in the code.
################# ERROR ##############
Can't use string ("1#Escobar") as an ARRAY ref while "strict...
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...
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.