Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How to pass directory variable using IPC::System::Simple

by ablanke (Monsignor)
on Jul 25, 2016 at 07:57 UTC ( [id://1168450]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @t = ( localtime(time) )[ reverse( 3 .. 5 ) ]; #get year month and 
    +day from current localtime
    $t[0] += 1900; # see localtime doc for details
    $t[1]++; # see localtime doc for details
    my $savedir = '/folder/name/' . sprintf( '%04d%02d%02d', @t );
    say $savedir;
    
  2. or download this
    /folder/name/20160725
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (1)
As of 2024-04-24 14:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found