On Oct 31, 2018, at 1:29 PM, Martin McCormick <marti...@suddenlink.net> 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 parsed, format to be used for parsing. You have one argument: a double-quoted string. my $t1 = Time::Piece->strptime($obtime[1], "%d %b %Y %H:%M:%S %z”); -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/