Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: check my code

by jwkrahn (Abbot)
on Jul 14, 2010 at 03:11 UTC ( [id://849413]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $confpath;
    my $servername;
    ...
    $confpath = "/export/mksysb";
    $filepath = "/export/mksysb";
    $filemaxage = "360";
    
  2. or download this
    my $confpath   = '/export/mksysb';
    my $filepath   = '/export/mksysb';
    my $filemaxage = 360;
    
  3. or download this
    while(<FILE>){
        chomp($servername = $_);
    
  4. or download this
    while ( my $servername = <FILE> ) {
        chomp $servername;
    
  5. or download this
            if (-M $_ > "$filemaxage"){
    
  6. or download this
            mkdir("$filepath/$servername");
    
    system("nim -o define -t mksysb -a server=master -a mk_image=yes -a lo
    +cation=$filepath/$servername/$servername\_`date +%m%d%Y` -a source=$s
    +ervername $servername\_`date +%m%d%Y`");
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-16 04:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found