Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 ( [id://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?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-23 06:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found