RE: Taking bakcups of a files in directory structure

2001-12-22 Thread Richard J Cox
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Brent Dax) wrote: > krish: > # I am a beginner in Perl and have a very trivial query. I have > # some .expect [...] > > This is the wrong group for this sort of question. perl6-internals is s/internals/language/ but the rest does apply (it's

RE: Taking bakcups of a files in directory structure

2001-12-22 Thread Brent Dax
Richard J Cox: # [EMAIL PROTECTED] (Brent Dax) wrote: # > krish: # > # I am a beginner in Perl and have a very trivial query. I have # > # some .expect # [...] # > # > This is the wrong group for this sort of question. # perl6-internals is # # s/internals/language/ Doh! got the groups mixed up..

Re: Perl 6's Exporter

2001-12-22 Thread Bryan C. Warnock
On Saturday 22 December 2001 02:29 am, Brent Dax wrote: > I've been thinking about improvements that could be made to Exporter for > Perl 6. > > 1. Choosing where to export to: > use Data::Dumper 'Dumper' => 'dumpvar'; > #exports Data::Dumper::Dumper to Main::dump

RE: Perl 6's Exporter

2001-12-22 Thread Brent Dax
Bryan C. Warnock: # On Saturday 22 December 2001 02:29 am, Brent Dax wrote: # > I've been thinking about improvements that could be made to # Exporter for # > Perl 6. # > # > 1. Choosing where to export to: # > use Data::Dumper 'Dumper' => 'dumpvar'; # > #exports Data::

Re: Perl 6's Exporter

2001-12-22 Thread Bryan C. Warnock
On Saturday 22 December 2001 05:40 am, Brent Dax wrote: > BTW, can we genericize 'use' to work like an indirect-object method? > > use Data::Dumper; > Data::Dumper.use; #same thing Only if you can gel the compile-time semantics of compile-and-run. > # Well, I can't get

Re: Perl 6's Exporter

2001-12-22 Thread Uri Guttman
> "BD" == Brent Dax <[EMAIL PROTECTED]> writes: BD> # > 1. Choosing where to export to: BD> # > use Data::Dumper 'Dumper' => 'dumpvar'; BD> # > #exports Data::Dumper::Dumper to Main::dumpvar BD> # (or whatever) BD> # BD> # Where to import to. It'

Re: Perl 6's Exporter

2001-12-22 Thread Michael G Schwern
I've rearranged the proposed features a bit to put the long objections at the bottom. Brent Dax wrote: > I've been thinking about improvements that could be made to Exporter for > Perl 6. > 3. Warnings about conflicts: > use warnings 'Exporter'; > sub Dumper { ... } > use Data::Dumpe

RE: Perl 6's Exporter

2001-12-22 Thread Brent Dax
Michael G Schwern: # I've rearranged the proposed features a bit to put the long objections # at the bottom. # # Brent Dax wrote: # > I've been thinking about improvements that could be made to # Exporter for # > Perl 6. # > 3. Warnings about conflicts: # > use warnings 'Exporter'; # > sub

Re: Perl 6's Exporter

2001-12-22 Thread Michael G Schwern
On Sat, Dec 22, 2001 at 09:20:08PM -0800, Brent Dax wrote: > # However, shoving everything onto the use line seems of somewhat > # dubious use. For starters, how do you say "don't export import()" and > # "export these variables please" at the same time? You start getting > # into special "dont_