[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] How to get MacPerl to find a file



Okay, I think I've found the routine that gives me this error:
<AppleEvent> fatal: initialisation file 'sdf' not found
# Attempt to free unreferenced scalar.

sub _AppConfigInifile {
    local($value) = @_;
#   local();
    local($fname);
    local(%inidata, $section, %config);
    local($product);
    local($alias_name, $alias_help, @alias_opts);
    local($next_inifile, $param);

    # Find the file
    $fname = &NameFind($value, ".", $app_dir);
    if ($fname eq '') {
        &AppExit("fatal", "initialisation file '$value' not found");
    }
  ...

trying to set a break on this did not work till I first broke at a line
that was past the require statement that read in the file that contains
this routine. However, after I set a break at this sub and 'c' to run up to
its call, MacPerl just crashes. I up-ed MacPerl memory to 20 meg, no change.

Any other way to see what's happening in this sub? Perhaps some statements
to instrument it? Can I get at the call chain somehow?

Tom



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch