Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: Sliding window perl program

by hippo (Bishop)
on Oct 20, 2015 at 21:42 UTC ( [id://1145487]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Sliding window perl program
in thread Sliding window perl program

Just for fun, I did. Here's what happened:

$ perl -cw 1145471.pl Unquoted string "p" may clash with future reserved word at 1145471.pl +line 6. Scalar found where operator expected at 1145471.pl line 11, near "$up" (Missing semicolon on previous line?) Scalar found where operator expected at 1145471.pl line 12, near "$dn" (Missing semicolon on previous line?) Scalar found where operator expected at 1145471.pl line 23, near "$c" (Missing semicolon on previous line?) Unquoted string "p" may clash with future reserved word at 1145471.pl +line 24. Scalar found where operator expected at 1145471.pl line 31, near "$up" (Missing semicolon on previous line?) syntax error at 1145471.pl line 6, near "p>" syntax error at 1145471.pl line 10, near "chomp" syntax error at 1145471.pl line 11, near "$up " syntax error at 1145471.pl line 15, near ") {" syntax error at 1145471.pl line 19, near ") {" syntax error at 1145471.pl line 21, near "100) " syntax error at 1145471.pl line 24, near ") <" syntax error at 1145471.pl line 29, near "}" syntax error at 1145471.pl line 33, near "}" 1145471.pl had compilation errors.

Do you see the problem?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1145487]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-19 05:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found