in reply to McAfee False Positive
If you try to open $0 for writing, this will cause some problems! Maybe you are trying to get the command line args to your program and there are ways to do that. Update: I recommend using "warnings" and "strict" as I have shown above.#!/usr/bin/perl use warnings; use strict; print "$0\n"; __END__ prints: C:\TEMP\dollar0.pl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: McAfee False Positive
by SavannahLion (Pilgrim) on Apr 08, 2010 at 12:59 UTC |