// operator not working?
[email protected] (David Griffiths1) Wed, 28 Jun 2017 14:47:08 +0100
| Newsgroups | perl.mvs |
|---|---|
| Message-ID | <OFB049C313.90385B26-ON8025814D.004B8223-8025814D.004BBA0D@notes.na.collabserv.com> |
--=_alternative 004BB9AC8025814D_= Content-Type: text/plain; charset="US-ASCII" Hi, a colleague says that the // operator does not appear to be working: $days = $ARGV[0] // 3; returns `HPE20846 (Might be a runaway multi-line // string starting on line 12)` This is with version 5.24. Cheers, Dave Griffiths z/OS Developer IBM United Kingdom Limited, Hursley Park, Winchester, SO21 2JN, UK --=_alternative 004BB9AC8025814D_= Content-Type: text/html; charset="US-ASCII" <font size=2 face="sans-serif">Hi, a colleague says that the // operator does not appear to be working:</font> <br> <br><font size=2 face="sans-serif">$days = $ARGV[0] // 3;</font> <br> <br><font size=2 face="sans-serif">returns `HPE20846 (Might be a runaway multi-line // string starting on line 12)`</font> <br> <br><font size=2 face="sans-serif">This is with version 5.24.</font> <br> <br><font size=2 face="sans-serif">Cheers,<br> <br> Dave Griffiths<br> z/OS Developer<br> IBM United Kingdom Limited, Hursley Park, Winchester, SO21 2JN, UK<br> </font> --=_alternative 004BB9AC8025814D_=--