Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > $^I
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 11055 of 11531
Post > Topic >>

$^I

by rich.japh@[EMAIL PROTECTED] (Richard Lee) May 11, 2008 at 06:04 PM

I just looked it up on perldoc perlvar, but I am still not sure what it 
does.



 $^I     The current value of the inplace-edit extension.  Use "undef" 
to disable inplace editing.  (Mnemonic: value of -i
               switch.)

I was reading perl cookbook and saw this example, and was wondering what 
that is....


if (@[EMAIL PROTECTED]
) {
    $^I = ".orig";
} else {
     warn "$0: Reading from stdin\n" if -t STDIN;
}
 




 3 Posts in Topic:
$^I
rich.japh@[EMAIL PROTECTE  2008-05-11 18:04:48 
Re: $^I
chas.owens@[EMAIL PROTECT  2008-05-11 18:20:26 
Re: $^I
rich.japh@[EMAIL PROTECTE  2008-05-11 21:25:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 1:01:22 CDT 2008.