![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re: Trying to Create and Write to a fileby c (Hermit) |
on Apr 07, 2003 at 16:45 UTC ( #248670=note: print w/replies, xml ) | Need Help?? |
I'm guessing that you'll need to chomp the value of $CorE after you've read it in from STDIN. You're trying to match on just the value 'C', when perl is probably seeing 'C\n' as its value. -c
In Section
Seekers of Perl Wisdom
|
|