Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Newbie in need...

by alien_life_form (Pilgrim)
on May 12, 2002 at 21:19 UTC ( [id://166039]=note: print w/replies, xml ) Need Help??


in reply to MS-DOS search using globs

Greetings,

  • You should chomp() everything you get from <stdin> to remove trailing <CR><NL>
  • "Adding error messages later" is not a good idea when opening files, directories etc, because the operations will then fail silently - and you'll never know that something is wrong, or what. You should therefore always
    open(FOO,"$foo") or die($!)
    even at early developmental stages.

Cheers,
alf
You can't have everything: where would you put it?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-03-28 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found