[mrtg] Re: mrtg help
Adam Crosby
acrosby at nps.k12.va.us
Thu Jun 20 22:11:40 MEST 2002
For windows perl scripts, you just associate a file type to perl.exe, or just run 'perl.exe c:\my\path\toscript.pl'
The #! stuff doesn't work / isn't necceasry in Windows, iirc.
------------------------------------------------
Adam Crosby
District Systems Engineer
Norfolk Public Schools
(757) 628-3450
------------------------------------------------
>>> Jim Horwath <jhorwath at agere.com> 06/20/02 10:57AM >>>
Perl is an interrupted language and doesn't need to be compiled. You
need to download active state or another version of perl for a WinTel
platform. Once you have perl in stalled on your system you need to
download and install the SNMP module. Next change the first line of
your program to something like #!c:\activestate\perl\bin\perl
Hope this helps.
Jim
GUARENO at FORDHAM.EDU wrote:
>Hi all:
>Does anybody know how to hack a perl script which was writen in a UNIX
>platform?. I have 3 scripts for an Ascend MAX 6000 that need to run on my
>Win2k Proffesional machine. When I try to compile them I get a bunch of
>syntax errors (barework found where...., Syntax error at line...., etc..).
>How is the initial line suposed to look in a perl script for Win2k. For
>Unix it looks something like !/usr/bin/perl (or someting like that).
>I'm a little confused. Please help someone.... Here are the files if
>anyone wants to lool at the (use notepad or the like...but you knew that I
>bet)
>Thanks in advance
>(See attached file: mrtg.cfg_l)(See attached file: 56K_count)(See attached
>file: PM_count)
>
>-- Attached file removed by Listar and put at URL below --
>-- Type: application/octet-stream
>-- Size: 5 bytes
>-- URL : http://www.ee.ethz.ch/~slist/pantomime/mrtg.cfg_l
>
>
>-- Attached file removed by Listar and put at URL below --
>-- Type: application/octet-stream
>-- Size: 799 bytes
>-- URL : http://www.ee.ethz.ch/~slist/pantomime/56K_count
>
>
>-- Attached file removed by Listar and put at URL below --
>-- Type: application/octet-stream
>-- Size: 1k (1391 bytes)
>-- URL : http://www.ee.ethz.ch/~slist/pantomime/PM_count
>
>
>--
>Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
>Archive http://www.ee.ethz.ch/~slist/mrtg
>FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
>WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
>
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list