Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Matching the author and post date of an article

by tachyon (Chancellor)
on Dec 26, 2001 at 15:36 UTC ( [id://134382]=note: print w/replies, xml ) Need Help??


in reply to Re: Matching the author and post date of an article
in thread Matching the author and post date of an article

I see you are careful to *fix* the value ot $/ before you finish. A better way is to locally scope the changes to $/ using local - then you don't have to remember to fix it. This goes for all the special vars:

# make a block and locally scope a var { local $/; # $/ is now undef so glob a file in } # now $/ is back to normal as the changes are scoped to the block abov +e

Often you have a convenient block to scope within. If not make one as shown above.

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

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

    No recent polls found