run it .an error occur:my $new_par = "YI_OU"; open MYFILE,"c:/perl/test/1.txt" or die "cannot open file:$!"; local $^I = ''; local @ARGV = MYFILE; while(<>){ s/UI_EM/$new_par/g; print; }
In reply to Re^2: $^I why this symbol does not work ?
by kingwrcy
in thread $^I why this symbol does not work ?
by kingwrcy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |