in reply to substr oddity
in thread Perl oddities
This doesn't seem to happen on Win32 5.8.4 (AS 810). Which version are you using?
P:\test>perl -wle"sub foo{}; my $s =''; foo( substr $s, 2, 1 );" substr outside of string at -e line 1.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: substr oddity
by Anonymous Monk on Mar 04, 2005 at 18:14 UTC | |
by BrowserUk (Patriarch) on Mar 04, 2005 at 18:24 UTC | |
by Anonymous Monk on Mar 04, 2005 at 19:05 UTC | |
by BrowserUk (Patriarch) on Mar 04, 2005 at 19:28 UTC | |
by Anonymous Monk on Mar 04, 2005 at 23:12 UTC | |
|