On 10/30/2018 10:24 PM, Martin McCormick wrote:
I can not seem to send Time::Piece any syntax it likes.
The file I am reading sends a time stamp that should
conform to RFC822 date stamps. An example of a stamp follows:
main::(lwx:204):my @obtime = split( /\,+/, $dat
Hi Rick,
The first thing I'd do is try to run this snippet from the command-line and
see how long it takes.
On a Linux box, something like:
$ time ./test.pl
Andrew
On Wed, Oct 31, 2018 at 8:11 PM Rick T wrote:
> This is not exactly a perl question, but perl may be implicated. The code
> belo
On Oct 31, 2018, at 1:29 PM, Martin McCormick wrote:
>
>
> I'd like to say that it's working but not yet. There seems to be
> nothing wrong with the string now.
>
> my $t1 = Time::Piece->strptime("$obtime[1], %d %b %Y %H:%M:%S %z”);
strptime is a method with two arguments: string to be parse
Uri Guttman writes:
> whenever i print stuff for debugging i put it in [] or similar so i can
> see
> white space or other odd things.
>
>
> try print "[$obtime[1]]" and see what is really there.
DB<2> print "[$obtime[1]]"
[ 31 Oct 2018 06:53:00 -0500]
I do believe that the leading white sp
This is not exactly a perl question, but perl may be implicated. The code below
writes files to my server, one for each element of @ course_file_list. The
files are small and the processing is simple and should go quickly. It works if
the array has only a couple of elements; but with a longer li
Linux
> On Oct 31, 2018, at 6:21 AM, Mike Flannigan wrote:
>
>
> Are you on Linux or using Strawberry Perl?
> I used Activestate for 15+ years and I was surprised
> by how easy it was to move to Strawberry Perl about
> 3 years ago. It's pretty darn easy to install modules
> with Strawberry
Are you on Linux or using Strawberry Perl?
I used Activestate for 15+ years and I was surprised
by how easy it was to move to Strawberry Perl about
3 years ago. It's pretty darn easy to install modules
with Strawberry Perl and seems to work every time.
Mike
Uri, thanks for the boatload of us