NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
How about generating an 'open' command? (Score:1)
That's slick, and I hate when Safari loses my windows, but closing them for me would be awkward -- I might want to use this to back up state, not just capture it for later resumption.
Is there any reason a Data Dumper structure is better than emitting a simple command line, starting with 'open ' and containing all the URLs found (wrapped in '' to protect against puctuation such as '?')? This is what I use to 'store' URLs when i have to quit Safari.
Re: (Score:2)
That's slick, and I hate when Safari loses my windows, but closing them for me would be awkward -- I might want to use this to back up state, not just capture it for later resumption.
Right. But there's no real way to do that right now, that I can find.
Is there any reason a Data Dumper structure is better than emitting a simple command line, starting with 'open ' and containing all the URLs found (wrapped in '' to protect against puctuation such as '?')? This is what I use to 'store' URLs when i have to quit Safari.
The only thing was that my re-open command takes the data structure and opens them as they were before (including different windows for different sets of tabs). If you'd rather use opens, sure, you could do that.