Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Please help me

by TGI (Parson)
on Feb 12, 2010 at 15:24 UTC ( [id://822884]=note: print w/replies, xml ) Need Help??


in reply to Please help me

Please read How To Ask A Question (Simple English) (RFC).

Also, it looks like you don't have strict enabled. You should. It will save you hours and hours of work.

One of the easiest ways to debug a chunk of code is to insert some print or warn statements. Try modifying your code as follows:

@INFFiles = `dir /b $filespec`; use Data::Dumper; warn "GETTING FILES " warn Dumper \@INFiles; foreach $infFile (@INFFiles) { warn "PROCESSING $infFile";

You will be able to see what values are being used for @INFiles.


TGI says moo

Replies are listed 'Best First'.
Re^2: Please help me
by mtrasp (Acolyte) on Feb 12, 2010 at 18:17 UTC
    HI

    Thank you for your help. next time onwards i will follow the rules.

      It's always hard when you are working with new tools and reaching out to new people for help. It looks like you got the answer you needed, and some other helpful advice as well.

      Still, writing clear questions with good titles makes it easier for people to help you. The easier it is for others to offer help, the more help you can expect to receive. Sometimes the effort to clarify ones thoughts and compose a good post is enough to let you answer your own question.

      Both questions and answers are necessary parts of Perlmonks. Thank you for your contribution so far. Keep asking, and sooner than you think, you will be able to start answering questions too.

      Welcome to Perlmonks and Perl in general.


      TGI says moo

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-16 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found