www.webdeveloper.com
Results 1 to 2 of 2

Thread: Chdir

  1. #1
    Join Date
    Jan 2003
    Posts
    72

    Chdir

    i cant seem to change the direct back to the home directory?


    for example ill do the following:
    chdir $datadir;
    chdir $username;


    and after that i dont know how to go back as if i never went there??


    Thanks
    Goran

  2. #2
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    Use two periods to go back a directory.

    chdir '..' or die $!;
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles