|Pathologically Eclectic Rubbish Lister|
Re^2: Use of uninitialized value $_ in stringby juanpablo (Novice)
|on Apr 05, 2014 at 13:56 UTC||Need Help??|
Yes, the line 32 is my $conf = "$_";. I've managed to remove the errors but I'm not so sure if this is the correct approach especially the declaration of the same variables under sub add_vhost. What I did was...
remove these variables from above:
then declared the $conf, $conf_bn, and $ltime variables under sub add_vhost.
and removed the comments from the variables under foreach...
The errors were gone every time I execute the script. However, after providing two required arguments, the script still does nothing. I was expecting it would start creating a backup of the existing file.