nayakgi / perl-compiler

Automatically exported from code.google.com/p/perl-compiler
Other
0 stars 0 forks source link

$[ not respected in substr #327

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

> perlcc -r -e 'no warnings "deprecated"; $a = q{abcdefxyz}; $[ = 1; print 
qq{ok\n} if substr($a,1,3) eq q{abc};'

What is the expected output?

> perl -e 'no warnings "deprecated"; $a = q{abcdefxyz}; $[ = 1; print qq{ok\n} 
if substr($a,1,3) eq q{abc};'
ok

Please use labels and text to provide additional information.

Original issue reported on code.google.com by nicolas....@gmail.com on 9 May 2014 at 8:56

GoogleCodeExporter commented 9 years ago
not really important as $[ is not supported

Original comment by nicolas....@gmail.com on 9 May 2014 at 8:59

GoogleCodeExporter commented 9 years ago

Original comment by todd.e.rinaldo on 9 May 2014 at 9:04