I am sorry if I use some odd terminology. I no little about perl and I am in the process of learning. Anyway here is my question.
We have a script that you can create an input file for and it will use that input file to remove IP scopes from the network.
The problem is the input file must be created in the currect/working directory. With a bunch of analyst doing this is creates quite a mess in that directory.
So here is the line of code that needs changing or updating.
open (DEACT_DATA, "$ARGV[0]") || die "\nScript requires a valid file name as an argument.\n";
$ARGB[0] in the name of the input file. For arguments sake lets say this is /var/tmp/test
I want the script to remove the /var/tmp/ and just make it test. I know this is possible, can someone help me out here?
Start Free Trial