Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Trying to Create and Write to a file

by IPstacks (Novice)
on Apr 07, 2003 at 16:48 UTC ( [id://248671]=note: print w/replies, xml ) Need Help??


in reply to Re: Trying to Create and Write to a file
in thread Trying to Create and Write to a file

That did the trick, thanks c
  • Comment on Re: Re: Trying to Create and Write to a file

Replies are listed 'Best First'.
Re: Re: Re: Trying to Create and Write to a file
by Nkuvu (Priest) on Apr 07, 2003 at 19:21 UTC

    Just as a suggestion, you may also want to consider ignoring the case of the input. For example if someone enters 'c' then it doesn't pass the conditional. You could use a simple regex such as if ($CorE =~ /^C/i) which would also eliminate the need for chomping.

Log In?
Username:
Password:

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

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

    No recent polls found