On Oct 31, 2018, at 1:29 PM, Martin McCormick <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
