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 ( #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? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2022-01-20 23:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (57 votes). Check out past polls.

    Notices?