RE: [Perl-unix-users] Easy one

2001-12-18 Thread Nikko Odiseos
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nikko Odiseos Sent: Tuesday, December 18, 2001 10:12 AM To: [EMAIL PROTECTED] Subject: [Perl-unix-users] Easy one I know this should be easy but what is the problem here: if ($_ =~ /eventlog/) { $_ =~ s

[Perl-unix-users] Easy one

2001-12-18 Thread Nikko Odiseos
I know this should be easy but what is the problem here: if ($_ =~ /eventlog/) { $_ =~ s/.*=(.*)/$1/ ; $_ =~ s|\\|/|g; print "\$_ is $_"; # prints out "C:///x" $eventlog = $_; print "EVENTLOG IS $eventlog