Never mind, mistake on my part, sorry

********************************************
Interwoven, Inc.
Moving Business to the Web

Nikko Odiseos
Technical Support Engineer
Direct Line: (408)530-7175
Main Line: (408) 774-2000
Email: [EMAIL PROTECTED]
Web: http://www.interwoven.com

-----Original 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/.*=(.*)/$1/ ;
                $_ =~ s|\\|/|g;
                print "\$_ is $_"; # prints out "C:/xxxx/yyyy/xxxxx"
                $eventlog = $_;
                print "EVENTLOG IS $eventlog \n"; # prints out "EVENTLOG IS  "

Why can I not assign a scalar to have the value of $_ ?

Thanks
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

Reply via email to