Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

perl 5.6.1 on AIX 5.1 doesn't open() a $var, only real path

by jptxs (Curate)
on May 19, 2005 at 19:01 UTC ( #458737=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $confgiFile = '/path/to/configFile';
    
    open ( CONFIG, ">$configFile" ) or die "FATAL :: failure configuring -
    + $!\n\n";
    ...
    print CONFIG $config; # $config is populated much earlier
    
    close(CONFIG);
    
  2. or download this
    open ( OTHERCONFIG, ">/path/to/otherconfigFile" ) or die "FATAL :: fai
    +lure configuring - $!\n\n";
    
    print OTHERCONFIG $otherConfig;
    
    close(OTHERCONFIG);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2022-05-22 20:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (81 votes). Check out past polls.

    Notices?