Gossamer Forum
Home : General : Perl Programming :

Changing Directories in a Subroutine

Quote Reply
Changing Directories in a Subroutine
Quick question...

If I'm in directory C:\stuff\bob and I change to a subdirectory in a subroutine

sub ralph {
change to C:\stuff\bob\ralph
do perl code
}

Do I need to change "back" to the correct directory (C:\stuff\bob) ?

TIA - Mike.
Subject Author Views Date
Thread Changing Directories in a Subroutine Watts 10618 Oct 3, 2005, 9:55 AM
Thread Re: [Watts] Changing Directories in a Subroutine
Watts 10425 Oct 3, 2005, 2:20 PM
Thread Re: [Watts] Changing Directories in a Subroutine
Watts 10424 Oct 3, 2005, 2:56 PM
Post Re: [Watts] Changing Directories in a Subroutine
Andy 10442 Oct 4, 2005, 1:06 AM
Thread Re: [Watts] Changing Directories in a Subroutine
el noe 10392 Oct 23, 2005, 1:05 PM
Thread Re: [el noe] Changing Directories in a Subroutine
Andy 10418 Oct 23, 2005, 11:46 PM
Thread Re: [Andy] Changing Directories in a Subroutine
el noe 10426 Oct 24, 2005, 12:04 AM
Post Re: [el noe] Changing Directories in a Subroutine
Andy 10376 Oct 24, 2005, 1:04 AM