I'm just full of these today ;-) I get the error: Use of uninitilized value at ... line ..., pointing to these lines:
$line =~ s/<!--#include(.*?)=["']\/(.*?)["'](.*?)-->/
grab("$global_inc\/$2",$path,$inc_path,$global_inc)/eg;
$line =~ s/<!--#include(.*?)=["'](.*?)["'](.*?)-->/
grab("$path\/$inc_path\/$2",$path,$inc_path,$global_inc)/eg;
The variable $line is defined, as is the subroutine grab(). In fact, these lines are *in* the subroutine grab(). $path, $inc_path, and $global_inc are also defined. Any ideas?
Sincerely,
Tom Anderson
CEO, Order amid Chaos, Inc.
$line =~ s/<!--#include(.*?)=["']\/(.*?)["'](.*?)-->/
grab("$global_inc\/$2",$path,$inc_path,$global_inc)/eg;
$line =~ s/<!--#include(.*?)=["'](.*?)["'](.*?)-->/
grab("$path\/$inc_path\/$2",$path,$inc_path,$global_inc)/eg;
The variable $line is defined, as is the subroutine grab(). In fact, these lines are *in* the subroutine grab(). $path, $inc_path, and $global_inc are also defined. Any ideas?
Sincerely,
Tom Anderson
CEO, Order amid Chaos, Inc.