Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: Hidden features of Perl

by Porculus (Hermit)
on Jun 23, 2009 at 14:00 UTC ( #774025=note: print w/replies, xml ) Need Help??


in reply to Re^4: Hidden features of Perl
in thread Hidden features of Perl

We can all make things look complicated.

You: John, does "print" refer to: (1) putting ink on paper; (2) adding some data to an output buffer (possibly encoding it first) that will, when flushed, be pushed into an output stream that will probably result in its being stored in a file or displayed on a computer monitor, but is, in fact, highly unlikely to involve ink or paper?

John: ???

DATA is not a standard feature of modern programming languages, but it's really not that strange in the grand scheme of things. There have been plenty of other languages that do provide equivalent features, right back to the good old 8-bit BASICs found in every techie home throughout the 1980s.

And, more to the point, __DATA__ is a pretty common feature in the Perl world. It's a standard tool in nearly all the test suites I've ever seen, both on CPAN and in proprietary internal code. I'd go so far as to say that if I was giving a job interview to someone who claimed to be an experienced Perl developer, but didn't have the faintest inkling that __DATA__ had a special meaning, then I'd fail them on the spot.

Replies are listed 'Best First'.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://774025]
help
Chatterbox?
[stevieb]: ...to cover it all. Awesome thing is that you can dispatch ANY distribution to it (and include all revdeps if desired), and it works all the same as if I'm just testing the RPI code itself
[stevieb]: I'm rather pleased with myself and everything I've leared along this arduous and sometimes frustrating path
[stevieb]: Just need to implement an email plugin or something so I can get alerted remotely if the status of a build has changed from the last run
[stevieb]: Because of the extreme complexity of the testing code itself, I implemented extensive logging so I can troubleshoot much easier by setting a high debug level.
[stevieb]: if you're interested in the test/build backend, have a look at Test::BrewBuild.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-04-28 21:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (529 votes). Check out past polls.