in reply to dodgy sub
Try switching your parameters
HTH
Also, since your implmentation of PHP's str_replace doesn't take 'mixed' value types (i.e strings, arrays, references etc), it's only a partial implmentation.print str_replace("Hello", "Hi", "Hello My Name Is Elfyn\n");
HTH
broquaint
|
---|
In Section
Seekers of Perl Wisdom