Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Draft - Writng plugable programs with perl.

by tilly (Archbishop)
on Jun 18, 2004 at 01:40 UTC ( #367830=note: print w/replies, xml ) Need Help??


in reply to Draft - Writng plugable programs with perl.

Your update comment based on chromatic's comment is wrong. chromatic's comment was right, but you misunderstood it.

It isn't that require doesn't take a module name, in fact it can take a module name as an argument, exactly like use does. However it only does that when presented with a bareword. If you don't have a bareword in your code, then the expression is interpreted as a filename.

This is explained in the documentation for require. Look for the phrase, "If EXPR is a bareword".
  • Comment on Re: Draft - Writng plugable programs with perl.

Replies are listed 'Best First'.
Re^2: Draft - Writng plugable programs with perl.
by yosefm (Friar) on Jun 21, 2004 at 10:54 UTC
    Yes, of course. how negligent of me. I'll elaborate on that.

    perl -e'$b=unpack"b*",pack"H*","59dfce2d6b1664d3b26cd9969503";\ for(;$a<length$b;$a+=9){print+pack"b8",substr$b,$a,8;}'
    My public key

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2020-08-09 14:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (54 votes). Check out past polls.

    Notices?