Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: localization of $_

by japhy (Canon)
on Feb 28, 2001 at 00:07 UTC ( #61153=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package MyConfigReader;
    
    ...
      close FILE;
      return;
    }
    
  2. or download this
    use MyConfigReader;
    
    $/ = "not gonna happen";
    MyConfigReader::readConfig("whatever.dat");
    
  3. or download this
    sub readConfig {
      my ($file,$var) = @_;
    ...
      $/ = "\n";
      # rest of function
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://61153]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2023-09-30 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?