The error is returned when $ARGV[0] isn't passed anythingUse of uninitialized value in string eq at G:\output.pl line 6.
Thanks!#!/usr/bin/perl use warnings; use strict; if ($ARGV[0] eq 'TEST') { print "$ARGV[0]\n"; }
In reply to using $ARGV without arguments by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |