http://www.perlmonks.org?node_id=274852

Look: for( "${^T}rees" ) { select( $one ), chop and chop; sort $thoughts while $working; { package wood; log for log; } How->can( "I" ) . $Reach::enlightenment . ??; }

Compiles and runs without errors.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: A monk's day
by blue_cowdawg (Monsignor) on Jul 16, 2003 at 17:23 UTC

    But... but.... when I ran it I got:

    --$ perl -w monk.pl Useless use of log in void context at monk.pl line 4. Useless use of sort in void context at monk.pl line 3. Name "Reach::enlightenment" used only once: possible typo at monk.pl l +ine 5. Name "main::one" used only once: possible typo at monk.pl line 2. Name "main::thoughts" used only once: possible typo at monk.pl line 3. Name "main::working" used only once: possible typo at monk.pl line 3. Argument "1058376091re" isn't numeric in log at monk.pl line 4. Use of uninitialized value in concatenation (.) or string at monk.pl l +ine 5. Use of uninitialized value in concatenation (.) or string at monk.pl l +ine 5. --$ perl -w -Mstrict monk.pl Global symbol "$one" requires explicit package name at monk.pl line 2. Global symbol "$thoughts" requires explicit package name at monk.pl li +ne 3. Global symbol "$working" requires explicit package name at monk.pl lin +e 3. Execution of monk.pl aborted due to compilation errors.
    :-)


    Peter L. BergholdBrewer of Belgian Ales
    Peter@Berghold.Netwww.berghold.net
    Unix Professional

      I didnít say it compiles under strictures, and I donít see you getting any errors without them.

      Makeshifts last the longest.

        Just bustin' on ya... take it easy... nice poetry! ;-)


        Peter L. BergholdBrewer of Belgian Ales
        Peter@Berghold.Netwww.berghold.net
        Unix Professional