in reply to Re^2: Inotify2 question: watching subdirectories
in thread Inotify2 question: watching subdirectories
Omitting strict temporarily, revealsuse strict; use warnings; @site_array = {"tmp1","tmp2","tmp3"}; foreach $site (@site_array) { print $site; } __END__ Global symbol "@site_array" requires explicit package name at - line 6 +. Global symbol "$site" requires explicit package name at - line 7. Global symbol "@site_array" requires explicit package name at - line 7 +. Global symbol "$site" requires explicit package name at - line 9. Execution of - aborted due to compilation errors.
see perldatause warnings; @site_array = {"tmp1","tmp2","tmp3"}; foreach $site (@site_array) { print $site; } __END__ Odd number of elements in anonymous hash at - line 3. HASH(0x225f14)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Inotify2 question: watching subdirectories
by pktrain (Acolyte) on Feb 11, 2009 at 08:12 UTC |