Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: script not working

by 2teez (Priest)
on Dec 27, 2012 at 12:25 UTC ( #1010511=note: print w/ replies, xml ) Need Help??


in reply to Re^2: script not working
in thread script not working

That will still not work, except this line print "Five first characters are: $fivefprot1\n";is changed to print "Five first characters are: $fivefirstfile1\n";
variable $fivefprot1 requires explicit package name.

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me


Comment on Re^3: script not working
Select or Download Code
Re^4: script not working
by Lotus1 (Chaplain) on Dec 27, 2012 at 18:23 UTC

    I think that was the anonymous poster and samwyse's point, that it still wouldn't work but then the OPer would be able to find the problem from the messages.

    samwyse's version using test lines in DATA would also demonstrate to the OPer that there was an off by one error in the array index.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2014-10-21 20:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (110 votes), past polls