Leroy G. Blimegger Jr. wrote:
> Hello All,
>
> Happy Holidays!
>
> Thanks for the Date information. I got all of that working. I have one last
> problem. All of this info I have been working on is coming from a binary
> file. Basically, I have to read the binary file, get the date info, do some
Ted Schuerzinger wrote:
> $Bill Luebkert graced perl with these words of wisdom:
>
>
>>Jones Robert Civ TTMS Keesler wrote:
>>
>>
>>> A better option would be to use the Date::Calc module.
>>
>>That's your opinion - I seldom if ever need to use any of the Date
>>modules. If you had said 'ano
Hello All,
Happy Holidays!
Thanks for the Date information. I got all of that working. I have one last
problem. All of this info I have been working on is coming from a binary
file. Basically, I have to read the binary file, get the date info, do some
checking, then write a new binary file with
$Bill Luebkert graced perl with these words of wisdom:
> Jones Robert Civ TTMS Keesler wrote:
>
>> A better option would be to use the Date::Calc module.
>
> That's your opinion - I seldom if ever need to use any of the Date
> modules. If you had said 'another option', I wouldn't have bothe
Jr. <> wrote:
: To me it looks like I am really stupid and I feel really dumb
: right now. I could be going about this in the wrong way
: period. I am not sure. If some one could please help me I
: would be very much appreciative.
If you feel dumb or stupid stop programming computers. I
I am a beginner & I am trying to embed a cgi-script into a web page
but cannot seem to do it correctly.
The reason why is I am writing another script that that will replace the
bottom portion of the web-page that says I made the page. And I want to be able to just link to
that script. He
I will be out of the office starting 12/23/2004 and will not return until
12/27/2004.
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Jones Robert Civ TTMS Keesler wrote:
> A better option would be to use the Date::Calc module.
That's your opinion - I seldom if ever need to use any of the Date modules.
If you had said 'another option', I wouldn't have bothered to respond. :)
> ($tyear, $tmonth, $tday, $thour, $tmin, $tse
A better option would be to use the Date::Calc module.
($tyear, $tmonth, $tday, $thour, $tmin, $tsec) = Today_and_Now();
($nyear, $nmonth, $nday) = Add_Delta_Days($tyear, $tmonth, $tday, -5);
If ((check_date($tyear,$tmonth,$tday) and (check_date($nyear,$nmonth,$nday))
{
$daysdiff = Delta
Try:
#!/usr/bin/perl -w
use strict;
$_ = "ABabcde12345BAABabcde1234blahblah5BA";
print "is: ", $_ , "\n";
my $count = () = $_=~ /(AB.*?BA)/g;
my @match = /(AB.*?BA)/g;
print "match: ", join(", ", @match), "\n";
print "I matched $count times\n";
The trick is:
$_ =~ /../
Leroy G. Blimegger Jr. wrote:
> Hi All,
>
> I have a question about adding and subtracting dates:
>
> I am retrieving some date and duration values from an array:
>
> $td=$tlf[54]; #Total days
> $st_mon=$tlf[57]; #Start Month
> $st_day=$tlf[59]; #Start Day
> $st_yr=$tlf[61]; #Start Year
> $cu_m
Hi All,
I have a question about adding and subtracting dates:
I am retrieving some date and duration values from an array:
$td=$tlf[54]; #Total days
$st_mon=$tlf[57]; #Start Month
$st_day=$tlf[59]; #Start Day
$st_yr=$tlf[61]; #Start Year
$cu_mon=$tlf[58]; #Current Month
$cu_day=$tlf[60]; #Curren
Hi everyone,
I'm trying to use SFTP on windows XP to send files to a SUN solaris machine.
When I create the SFTP object I specify to use protocol 2. However I get this
warning message:
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/Net/SSH/Perl.pm l
> You can also use this bizarre construction to capture just the count:
>
> $_ = "ABabcde12345BAABabcde1234blahblah5BA";
> $count = () = $_=~ /(AB.*?BA)/g;
> print "I matched $count times\n"'
>
> the () between the two ='s forces the match to list context, and then
> THAT is forced t
14 matches
Mail list logo