Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Howto direct an output filehandle into directory?

by Ultra (Hermit)
on Dec 06, 2005 at 08:37 UTC ( [id://514364]=note: print w/replies, xml ) Need Help??


in reply to Howto direct an output filehandle into directory?

Quickly looking at your code:

  • You use different variable names for something that I think is the same thing: my  $OUTFILE_fname = $file.".html"; and result_dir/$OUTFILE_file_name
  • Maybe result_dir should be $result_dir?



    I think you should:

  • use warnings
  • use strict

    Dodge This!
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://514364]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others admiring the Monastery: (5)
    As of 2024-04-25 08:08 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found