Permission denied at C:/Perl/site/lib/XML/Handler/YAWriter.pm line 43.

Discussion in 'Perl Misc' started by Piet L., Feb 24, 2005.

  1. Piet L.

    Piet L. Guest

    Hey,

    I get this error when I try following code:

    my $handler = XML::Handler::YAWriter->new(AsFile => "c:\\z.xml");
    my $generator = XML::Generator::DBI->new(
    Handler => $handler,
    dbh => $dbh
    );

    AsString => "-" work good.

    thanks
     
    Piet L., Feb 24, 2005
    #1
    1. Advertising

  2. Re: Permission denied at C:/Perl/site/lib/XML/Handler/YAWriter.pmline 43.

    Piet L. wrote:

    > I get this error when I try following code:


    Please do not put important information only in the subject of your
    post. I assume 'this error' was 'Permission denied at
    C:/Perl/site/lib/XML/Handler/YAWriter.pm line 43.'

    > my $handler = XML::Handler::YAWriter->new(AsFile => "c:\\z.xml");


    Perhaps you should explain how you have ruled out the blindingly obvious
    explaination, namely that the process executing this code does not have
    permission to write to c:\z.xml ?
     
    Brian McCauley, Feb 24, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. eepeterson
    Replies:
    4
    Views:
    101
    eepeterson
    Oct 20, 2009
  2. Shane Neeley

    Python site-packages permission denied?

    Shane Neeley, Mar 7, 2012, in forum: Python
    Replies:
    3
    Views:
    1,294
    Steven D'Aprano
    Mar 8, 2012
  3. Kenjis Kaan
    Replies:
    4
    Views:
    124
    Randy Kobes
    Jun 29, 2003
  4. Replies:
    0
    Views:
    230
  5. Oliver Soeder
    Replies:
    1
    Views:
    251
Loading...

Share This Page