Wroof has asked for the wisdom of the Perl Monks concerning the following question:
Good morning all,
I am not sure if it is due to the early hours (now 7am started on this at 5am) but I cannot, for the life of me, work out how to load a + into a string.
I have this string here
my $SettlementTimeString = $SettlementDateTime->ymd."T".$SettlementDateTime->hms.".".$SettlementDateTime->nanosecond."+12:00";but it removes the + when I try to use the string elsewhere. (The string is being sent to a server which then tries to convert it to a DateTime but does not see the + that is expecting).
Any help would be great thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to load a + into a string
by Perlbotics (Archbishop) on Jun 16, 2014 at 19:35 UTC | |
by Wroof (Novice) on Jun 16, 2014 at 21:28 UTC | |
by Anonymous Monk on Jun 16, 2014 at 22:02 UTC | |
|
Re: How to load a + into a string
by BrowserUk (Patriarch) on Jun 16, 2014 at 19:36 UTC | |
|
Re: How to load a + into a string
by Anonymous Monk on Jun 16, 2014 at 19:35 UTC | |
|
Re: How to load a + into a string
by Anonymous Monk on Jun 16, 2014 at 19:57 UTC |