Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: seek question

by toolic (Bishop)
on Feb 09, 2017 at 20:56 UTC ( [id://1181588]=note: print w/replies, xml ) Need Help??


in reply to seek question

Add this after your seek:
print "$.\n";
seek does not reset the line number to 0. The Range Operators use $. in this context.

Note: my $ should be my $f

Replies are listed 'Best First'.
Re^2: seek question
by natxo (Scribe) on Feb 09, 2017 at 21:25 UTC
    thanks for spotting my copy/paste error. It's corrected now. And for pointing me in the correct direction, of course.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-03-28 20:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found